Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select range of lines in Notepad++

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 file and I can select it only by using some function.

like image 609
David Avatar asked Dec 13 '11 14:12

David


2 Answers

Easiest way:

  1. Ctrl + G, go to line 10,000.

    • Menu > Edit > Begin/End select.

  2. Ctrl + G, go to line 25,000.

    • Menu > Edit > Begin/End select.

You now have your range selected.

Or, simply right click for "Begin/End select" option.

like image 134
António Almeida Avatar answered Sep 28 '22 02:09

António Almeida


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.

like image 45
mandy Avatar answered Sep 28 '22 03:09

mandy