Hi,
I'm trying to add a sequential number on each line of text:
i.e.
1 .....text...
2 .....text...
3 .....text....
Is there a way to Find begnning of line and replace with an incrementing variable?
Or would I have to use some sort of script?
Thanks, much appreciated.
Add an incrementing number on each line
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
StephenGolub
- Posts: 1
- Joined: Thu Apr 10, 2008 8:04 pm
Sequential Renumbering
Is there anyway to make this thing more friendly? Like, if I were to block select something, and hit a shortcut key, it would renumber starting at the first number (if it was 512, that would be the starting number) and then increment by 1 every occurance of a number from there on out...
I know it's been done with a program called NetLinx studio (used for programming AMX Automated Systems) and that's much handier and less typing than using Regular Expressions everytime I need to renumber something.
I know it's been done with a program called NetLinx studio (used for programming AMX Automated Systems) and that's much handier and less typing than using Regular Expressions everytime I need to renumber something.
Re: Sequential Renumbering
You're in luck: Edit -> Fill BlockStephenGolub wrote:Is there anyway to make this thing more friendly? Like, if I were to block select something, and hit a shortcut key, it would renumber starting at the first number (if it was 512, that would be the starting number) and then increment by 1 every occurance of a number from there on out...
Please see the TextPad Help files: How to/Edit Text/Fill Blocks.
Andrew