[TxMt] Column selection navigation
allan at macromates.com
Tue Apr 12 13:44:54 UTC 2005
On Apr 12, 2005, at 10:40, Sune Foldager wrote:
>> Just something I'm curious about -
>> When you select 4 full lines (for sake of argument) and enter column
>> the caret spans 5 lines (one below the previous selection).
>> Is this intentional?
> I already bugged Allan about this.. ;-). It is due to the fact that
> when you've selected four full lines, the cursor is internally placed
> at the start of the 5. even though it's not visible.... But I think
> maybe it should only select 4 lines in column mode in that case.
Try placing the caret at column 2 and use shift arrow down a few times,
you'll get (X shows the selection):
Pressing option once turns this into:
This does IMHO make perfect sense, especially if you couple it with
column-movement, or if you start with the caret at the last line and
instead use shift arrow up.
Making the exception only when caret is at column 0 still would give a
problem with column movement, e.g. if you have:
In first version you can use option-shift down + option and in the
second you can use option-shift up + option both to get to:
More information about the textmate