[TxMt] Scopes of DOOM!

Soryu Soryu at serenity.de
Fri Nov 4 20:44:07 UTC 2005


>
> i've got some html like this:
> <b>text</b>
> the scope for the 'text' when selecting the entire word is coming  
> up as 'declaration.tag.html'
> also:
> <tag attribute="Value" attribute="Value" attribute="Value" />
> the scope for the ' attribute="Value"' in the middle when selecting  
> from the whitespace to the last quote is coming up as  
> 'string.quoted.double'
>
> we've solved 1 problem and created another. oi.
>
> I don't know what the right logic should be.

As I see it, the scope is defined by the caret position, not the  
selection.

Soryu





More information about the textmate mailing list