Hi, in the Replace dialog, switch to Regular Expression or Escape Sequences mode. Right-click on the Replace input box, select Add - Replacement Counter, or type /#.
The number of # represents the digit count. I’m not sure yet how to set the step interval and starting value.
I like to use the Text Filter feature to do these kinds of text manipulation, using unix tools. You can invoke the Text Filter by selecting the text to be modified, then pressing CTRL+/ (or use ALT+/ to invoke the command template and type “text filter”), then in the dialog that opens - type a unix command to make the modification by reading STDIN and outputting the modified text to STDOUT.
For example, to change all "0"s to a running number, I use:
perl -pe 's/0/++$i/e'
[explanation to those that don’t read PERL: perl to run PERL, -p to make it process STDIN by reading each line and processing it in the script, then outputting the modified line, -e to specify the script in single quotes, s to invoke a substitution on the current value, / is the delimiter for the substitution - it has a search part and a replace part, 0 - the search part searches for the text “0”, ++$i - the replace part is a script that advances the scalar variable i and then reads it (i is chosen arbitrarily), e - treat the replace part as a PERL expression (otherwise it is treated as text)]
Ah, thank you! So not quite the same as in the “column editor” in Notepad++. But could be very useful in different situations! And it is usually possible to manipulate a document beforehand to work with either feature.
BTW, I looked at the changelogs and docs and was unable to find this.