[TxMt] Column selection navigation

Allan Odgaard allan at macromates.com
Mon Apr 11 09:35:41 UTC 2005


On Apr 10, 2005, at 19:13, Charilaos Skiadas wrote:

>> But to “enter” the selection you can press cmd-option-A (works for 
>> normal selections only). This places the caret on the end of the 
>> first line, you can move it backwards and make changes.
> Cool, I hadn't realized you could move backward and preserve the 
> selection. One question then:
> Why can't the same be done when the columnar selection is enabled 
> through the option key?

It will eventually be possible. Initially I wasn't sure exactly how to 
handle the case for a column-selection. If we have (selection of left 
column):

    +--------------+
    |@"declaration"|   [NSDictionary ...]
    |@"keywords"   |   [NSDictionary ...]
    |@"strings"    |   [NSDictionary ...]
    +--------------+

I think using cmd-option-A should place carets like this:

     @"declaration"|   [NSDictionary ...]
     @"keywords"|      [NSDictionary ...]
     @"strings"|       [NSDictionary ...]

I.e. placing the caret before the last white-space sequence of each 
selected sub-line.




More information about the textmate mailing list