Loading ...
Sorry, an error occurred while loading the content.

6776Re: Insert line number into the edited text

Expand Messages
  • designwallah
    Oct 4, 2011
      Michael,

      I forgot to thank you for your LineNumber.js file. It does exactly what I was looking for.

      I did not know you could add JavaScript as a "program" - it's a great idea.

      Thanks very much,

      Francis.

      --- In editplus@yahoogroups.com, "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 editplus@yahoogroups.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.
      >
    • Show all 11 messages in this topic