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.




Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.