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
Line numbers
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
HerNameWasTextPad
- Posts: 59
- Joined: Fri Apr 18, 2008 3:25 am
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...
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...
I came in on 4.5 in 2001, moved to 4.7.2 in 2004, moved to 4.7.3 in 2007, moved to 5.4 in 2010, and am excited about 2013. I've said it many times before, and I'll say it many times again: "I love this program."