Notepad++ select all above or below lines


Notepad++ Select above or below lines
Notepad++ Select above or below lines

I usually use Notepad++ to work with large files and it is really useful as its undoubtedly the most powerful text editing tool on Windows OS.

If you have a huge file and you just want to select all the line above or below a specific line then you can do so by following the below steps,

Notepad++ select all above:

  1. Open the file in Notepad++,
  2. Go to the line number from where you want to select all lines above, keep the cursor at the start of the line (press home if the line is too big to get to the start),
  3. Now press Shift, and while holding press End, you should see the first line being selected,
  4. Now keep holding Shift and press Page Up button.

Notepad++ select all below:

  1. Go to the line from where you want to select all the lines below, you can try using Ctrl+G and adding the line number if you know it,
  2. Press Home to get to the start of the line,
  3. Now press Shift + End,
  4. Keep holding Shift and press Page Down to select all lines below.

⛏️ Note: If you do not want to include the current line you are on simply press the Shift + Page Up or Page Down keys. Make sure the cursor is at the start of the line.


Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram