Page 1 of 1

Line numbers

Posted: Thu May 01, 2008 1:52 am
by fisher
I am having problems with line numbers. I edit text documents that have attributes attached as headers.
For example:
&ACCESS RVP
&REL 3
&PARAM EDITMASK = *
DEF production( )
Text Pad starts the line numbers at &ACCESS RVP I would like to stat at
DEF production() which is the start of the actual code. There for ignor all the &.
Example should look like this:
&ACCESS RVP
&REL 3
&PARAM EDITMASK = *
1 DEF production( )

Can this be done. Am I missing something simple

Thanks if you can help

Posted: Thu May 01, 2008 3:51 am
by HerNameWasTextPad
Well . . .

It's a fact of life that the first line of a text file will be called line 1.

So . . .

You could copy all text from "DEF production( )" to the end and paste it into a new document, so that at least you would have the line numbers where ya want 'em from that point on. . . .

Any good?

You might also look into the idea of inserting YOUR OWN line numbers via Edit -> Fill Block...

- Turn word wrap off
- Configure -> Block Select Mode
- Beginning at the "DEF production( )" line and ending where you require, select all of column 1
- Edit -> Fill Block...