General questions about using TextPad
Moderators: AmigoJack , bbadmin , helios , Bob Hansen , MudGuard
chrisjj
Posts: 149 Joined: Sat Jan 21, 2006 10:32 pm
Post
by chrisjj » Wed Mar 29, 2006 6:00 pm
A replacement expression with \i01 doesn't yield what I'd hope (01,02...). Anyone know one that does? Thanks.
ben_josephs
Posts: 2461 Joined: Sun Mar 02, 2003 9:22 pm
Post
by ben_josephs » Wed Mar 29, 2006 7:03 pm
Turn on block select mode and use E dit | F ill Block...
Select With n umbers and Leading z eros .
chrisjj
Posts: 149 Joined: Sat Jan 21, 2006 10:32 pm
Post
by chrisjj » Wed Mar 29, 2006 7:15 pm
Thanks, but the replaced strings are not in a block.
MudGuard
Posts: 1295 Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:
Post
by MudGuard » Wed Mar 29, 2006 7:15 pm
use \i and add the few 0s manually.
ben_josephs' solution only helps if the numbers are in consecutive lines and also appear at the same column.
chrisjj
Posts: 149 Joined: Sat Jan 21, 2006 10:32 pm
Post
by chrisjj » Wed Mar 29, 2006 7:30 pm
MudGuard wrote: use \i and add the few 0s manually.
If anyone can answer the question, I'd be grateful. Thanks.
ben_josephs
Posts: 2461 Joined: Sun Mar 02, 2003 9:22 pm
Post
by ben_josephs » Wed Mar 29, 2006 7:43 pm
If the numbers aren't in a block then MudGuard's solution is the best you can do with the functionality currently available with TextPad, I'm afraid. Regular expressions can help, but it's a bit tedious.