Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ column mode: Go To Last Line [duplicate]

In a 200K+ line Notepad++ file, I need to select a partial column (block) of characters all the way to the very last line. (For example, select/highlight the block of 10th-15th characters, from the 100th line to the last line, but nothing outside of this perimeter.)

How can I extend the highlighted (by Alt-click) block of text downward to the last line without scroll-dragging the highlighted area?

In Windows PC, Alt-click and scrolling, page down works for smaller text blocks, but it takes forever to scroll to the last line in a large document. I tried various combinations of Alt, Ctrl, Shift, down arrow, page down, etc. none of them takes the cursor/highlighted text to the last line.

Any suggestions?

like image 901
user3026965 Avatar asked Oct 11 '17 19:10

user3026965


2 Answers

These steps should do it:

  • Move your cursor to the 10th character on line 100.
  • Use the scroll bar to scroll to the end of the file
  • Hold Alt+Shift then click after the 15th character of the last line

It requires a little mouse movement, but should be very fast even in a large file.

like image 180
Stuart Thompson Avatar answered Oct 05 '22 15:10

Stuart Thompson


Position the cursor at the top left of your column. Then hold Shift + Alt - then click on the bottom right of your column to select it in one go.

like image 21
Fraser Avatar answered Oct 05 '22 13:10

Fraser