Hi Guys,

Thanks for the suggestions, but...

1) I don't want to have to edit a script every time I need to have an
incremented number in a replace operation. That's just cumbersome.... kind of
like getting rid of the Replace function, and making do with just the Find
function. You could write a script to replace the found text, but who would want
to do that every time you needed to replace something? Also, I suspect it would
be difficult to use a script in the example I give below.

2) A quick look at the help file suggests that I can only insert an incremented
number where I can specifically define the character position of the insert. In
the example of inserting Help IDs in the XML file, the position of the
incremented number changes every time. The only way to identify it is with a
multi-line regular expression and use backreferences in the Replace string. And
the increment only goes in certain lines, again identified with a regular
expression--not every line.

So I'd like this to remain as a valid feature request.

Thanks,
John B.

-- 
<http://forum.pspad.com/read.php?2,38248,38296>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem