Is there a way to select range of lines in Notepad++? I would like to write two numbers - from and to, say: from 10000 to 25000.
I\'ve got this large MySQL dump fil
I don't know Notepad++, but as a quick solution, you can use
perl -ne 'print if $. >= 10_000 && $. <= 25_000' < file.sql > some-lines.sql
(The _ in numbers in Perl are just for legibility and can be omitted. It's like writing 10,000 in the US or 10.000 in Germany, but without the cultural confusion.)
I was trying to figure the same thing out FOREVER! I finally figured it out. The closest answer I could get was CTRLg then ShiftPageUp.
But if you want to select more and not the whole page do go to the last line your wanting and press CtrlShiftHome. That will select from where you are to top of your text. The same goes for CtrlShiftEnd will select from what line you are at to the last line.
put your cursor at the start of line 10000 then press and hold the shift
key use the scroll bar to go to line 25000 and Right click
at the end of it, this will select all the lines between 10000 and 25000, also while pressing and holding the shift
key you can hold and drag the Right click
to change selection area
Easiest way:
Ctrl + G, go to line 10,000.
Ctrl + G, go to line 25,000.
You now have your range selected.
Or, simply right click for "Begin/End select" option.