How do I select specific range of lines in Notepad++ quickly? I have a text file that has over 1M of lines and I need to delete some fragments from it, but selecting lines manually just takes too much time. For example: I need to select lines from 2000 to 12000, how to make it quick?
I got a better answer. You could record a macro ( deleting for example
1) Go to
2) hold Shift and tap Down to mark for example
3) Go to
Now your macro is recorded, you can save it for using in the future .
4) Go to
5) Move cursor to line that you want to delete lines after that.Then go to
Just Left Click once in line
1) Left Click in line
2) Go to line
3) Shift + Left Click in line
I had just responded with this in this similar question, but it looks like a more fitting answer for here, and I'm guessing that this Question Title would get more hits... so, I'm posting here and hoping it isn't some kind of faux pas... (perhaps it should just be a link to the other?)