Add sequential numbers to selected lines in Notepad++
Sean McBride last edited by
Is there a way to create a macro that will turn:
one two three
1. one 2. two 3. three
In Textpad, in regular expressions mode, one simply replaces “^” with "\i. " and binds it to a macro name.
Claudia Frank last edited by
ALT+C (column editor) could make it in three steps.
make sure you are in the very first column
- add the space
- add the dot
- add the numbers
Scott Sumner last edited by
If you have more than a few lines to number, consider using the “Number to Insert” feature of the “Column / Multi-Selection Editor”…see the Edit menu’s “Column Editor…” selection, in addition to Claudia’s suggestion to inserting the . and the space.