[TxMt] select paragraph | code block

David Lee david at davelee.com.au
Sat Apr 2 00:46:29 UTC 2005


now this should start a new thread.

I'm wondering if there's
a) a bug in 'select paragraph' , or
b) plans for a version of it that will select the 'code block' you're 
working on

the reason being that (in ruby at least) the selection made bears 
little relation to the structure of the code AFAICT. In perl it seems 
just to select the current line.

I don't know if this is a bundle- or lower-level thing, but perhaps the 
best way for it to work would be for each press of alt-P (or whatever) 
to move the selection to the next outmost code folding boundary

eg one press selects the loop you're in, another the method, and 
another the entire class.

am i missing something really obvious to Allan as usual, or is this 
feature missing?

I know Allan's working on the entire syntax engine so I'll make no 
mention of parentheses bouncing or matching :)


More information about the textmate mailing list