Add sequential numbers to selected lines in Notepad++
-
Is there a way to create a macro that will turn:
one two threeinto:
1. one 2. two 3. threeIn Textpad, in regular expressions mode, one simply replaces “^” with "\i. " and binds it to a macro name.
-
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
Cheers
Claudia -
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login