Page 1 of 1

Question about marking columns

Posted: 13 Jan 2023 22:51
by bbserv
My latest project has me using column mode on large text files. Many times I need to mark a specific column from say line 200 to the end of the file at line 10,000. Is there a fast way to do this using the keyboard? Currently I am using Shift+Alt+End in column mode and then moving the cursor back to the column I want highlighted.

If I want to highlight column 12 and the last column on the last line is 122, my method highlights all columns between 12 and 122. I cursor back to column 12 to have just that column highlighted.

Any thoughts would be appreciated.

Re: Question about marking columns

Posted: 13 Jan 2023 23:20
by pjj
bbserv wrote: 13 Jan 2023 22:51 If I want to highlight column 12 and the last column on the last line is 122, my method highlights all columns between 12 and 122. I cursor back to column 12 to have just that column highlighted.
The quickest way would be to simply mark selection with your mouse (with column mode on).

You could also place caret on column 12 on the appropriate line, use mouse to scroll down to the bottom of your file (or the last line you want to select) and hit Shift+Ctrl+PgDn (SelectToBottomOfPageAction) -- now you have "0-column selection", which you can increase with left and right arrow keys.

Re: Question about marking columns

Posted: 13 Jan 2023 23:29
by bbserv
Thank you. I just tried it and it works better. I was kinda looking for a keyboard only solution, but this works and is much faster. Again, thank you for your time.

Re: Question about marking columns

Posted: 14 Jan 2023 00:19
by pjj
There's a keyboard-only solution, too: place a caret where you want your selection start and then press Shift-PgUP or Shift-PgDn.