Select range of lines in notepad++

Notepad++

Notepad++ Problem Overview


I am looking to select lines from line number 1000 to line number 1997 and after delete them.I am using notepad++ and I am looking to do so,so after I can delete them.Any help would be appreciated.

Notepad++ Solutions


Solution 1 - Notepad++

Easiest way for big files:

  1. Ctrl + G, go to line 1000.
  • Menu > Edit > Begin/End select.

  1. Ctrl + G, go to line 1997.
  • Menu > Edit > Begin/End select.

You now have your range selected with few clicks and no scroll.

Solution 2 - Notepad++

Try Menu => Search => Goto and enter the first line number. Next use Menu => Edit => Begin/End select. Then Goto the second line number and repeat the Begin/End select. Finally delete the selected area.

Solution 3 - Notepad++

Place cursor on line 1000, scroll to line 1997 using the mouse / scroll bar.

Press and hold the shift key and then click on line 1997. This will select all the lines in between and you can then delete them.

Solution 4 - Notepad++

Select the range and Shift +Alt and Down go down till you need. you can extend in between using by pressing right/left arrow

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionbthe0View Question on Stackoverflow
Solution 1 - Notepad++António AlmeidaView Answer on Stackoverflow
Solution 2 - Notepad++AdrianHHHView Answer on Stackoverflow
Solution 3 - Notepad++DaVView Answer on Stackoverflow
Solution 4 - Notepad++ChanGanView Answer on Stackoverflow