using Notepad++ how can i make a macro type situation in which a number increments?

Bilal picture Bilal · Jan 27, 2010 · Viewed 21.8k times · Source

for example i have about 500 lines. in the beginning of each line i want to add a number. so in line 1 i would want "1)" and then line 2 i would want "2)"

i know i can do a macro in n++, but it wouldn't be incremental. is there any possible way to do this?

Answer

Tom Saleeba picture Tom Saleeba · Dec 29, 2010

Edit -> Column Editor and use the bottom option on that dialogue (Number to Insert). This way you can also start from whatever number you like and not have to have the leading zeros.