EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     number the lines
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
webern
Posted on: 2/26/2012 4:03 am
Not too shy to talk
Joined: 11/23/2006
From: Moscow, Russia
Posts: 38
Re: number the lines
You can use Insert Sequence Numbers plug-in (32-bit)

or a .jsee-macro like this one:

var n = document.GetLines();
var a = new Array();
for (var i=1; i<(n+1); i++) a.push(i + ") " + document.GetLine(i));
document.selection.SelectAll();
document.write(a.join("\n"));
Quit();
Flat Previous Topic | Next Topic


Subject Poster Date
   number the lines user 2/26/2012 2:20 am
   » Re: number the lines webern 2/26/2012 4:03 am
     Re: number the lines Stefan 2/26/2012 10:21 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文