6776Re: Insert line number into the edited text
- Oct 4, 2011Michael,
I forgot to thank you for your LineNumber.js file. It does exactly what I was looking for.
Thanks very much,
--- In firstname.lastname@example.org, "mljones1947" <mljones1947@...> wrote:
> I uploaded a file named LineNumber.js which I think will do what you want. Create a user tool with the following settings:
> Menu text: Add line numbers <or whatever>
> Command: cscript //NoLogo "<full path to file>\LineNumber.js"
> Action: Run as Text Filter (Replace)
> Save: Current file
> --- In email@example.com, "designwallah" <f.mariani@> wrote:
> > I would like to insert the line number into the program text I am
> > editing, either to the whole file or to the selected lines.
> > If this is the program open in EditPlus:
> > 1 abc
> > 2 def
> > 3 ghi
> > 4 jkl
> > I would like to insert the line numbers on each line (without having to
> > type them in):
> > 1 1 abc
> > 2 2 def
> > 3 3 ghi
> > 4 4 jkl
> > Thanks,
> > Francis.
- << Previous post in topic Next post in topic >>