Notepad++ column mode: Go To Last Line
Solution 1
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.
Solution 2
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.
user3026965
Updated on June 17, 2022Comments
-
user3026965 almost 2 years
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 ofAlt, Ctrl, Shift, down arrow, page down
, etc. none of them takes the cursor/highlighted text to the last line.Any suggestions?
-
user3026965 over 6 yearsOK, the method: place cursor before the first character (top-left) of the block to be selected. leave cursor there. scroll to the last line with mouse by dragging the sidebar. hold down together
Ctrl Shift Alt
and click after the last character (bottom-right) of the block to be selected. -
Fraser over 6 years@user3026965 - why scroll/drag etc? Just CTRL + SHIFT + END to jump to the end in one go.
-
user3026965 over 6 years"Just CTRL + SHIFT + END to jump to the end in one go" does not select the block.
-
Fraser over 6 years@user3026965 - sorry I think we have our wires crossed - no matter, the first bit is what you need.
-
user3026965 over 6 yearsthank you! do we need
Ctrl
for selection? it seems to be working w/oCtrl
as well. -
Fraser over 6 yearsHa - maybe not - I have always pressed all three out of habit but I think you could be correct. 10 points to Gryffindor
-
JohnC about 2 yearsNo Ctrl Needed OK, the method: place cursor before the first character (top-left) of the block to be selected. leave cursor there. scroll to the last line with mouse by dragging the sidebar. hold down together Shift Alt (no Ctrl needed, less keyboard gynastics) and click after the last character (bottom-right) of the block to be selected. Works for me on Windows Notepad++ v8.3.3 Allow a few seconds for the whole of the block to be selected (eg 25K lines took 10 secs for cursor reach the bottom of the file)