Notepad++ column mode: Go To Last Line

16,813

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.

Share:
16,813
user3026965
Author by

user3026965

Updated on June 17, 2022

Comments

  • user3026965
    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 of Alt, Ctrl, Shift, down arrow, page down, etc. none of them takes the cursor/highlighted text to the last line.

    Any suggestions?

  • user3026965
    user3026965 over 6 years
    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 Ctrl Shift Alt and click after the last character (bottom-right) of the block to be selected.
  • Fraser
    Fraser over 6 years
    @user3026965 - why scroll/drag etc? Just CTRL + SHIFT + END to jump to the end in one go.
  • user3026965
    user3026965 over 6 years
    "Just CTRL + SHIFT + END to jump to the end in one go" does not select the block.
  • Fraser
    Fraser over 6 years
    @user3026965 - sorry I think we have our wires crossed - no matter, the first bit is what you need.
  • user3026965
    user3026965 over 6 years
    thank you! do we need Ctrl for selection? it seems to be working w/o Ctrl as well.
  • Fraser
    Fraser over 6 years
    Ha - maybe not - I have always pressed all three out of habit but I think you could be correct. 10 points to Gryffindor
  • JohnC
    JohnC about 2 years
    No 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)