[TxMt] scope to the left of caret?

Quinn Comendant quinn at strangecode.com
Sun Apr 16 05:55:39 UTC 2006


>[2006-04-10: REVISION 961]
>...
>[CHANGED] The scope of the caret is now that of the character to the
>right of the caret, rather than that on the left side.

I have a snippet that inserts a '_' in 'variable.other.php' scopes with
the spacebar. However, now that the scope is that which is to the right
of the caret, it doesn't work!

Shouldn't the current scope be set to "that text which is currently
being typed?" Either way, maybe you setup a pseudo selector to specify
which side of the caret to use, for example:

    variable.other.php<
    -variable.other.php
    variable.other.php[left]

... for left side of caret, and ...

    variable.other.php>
    +variable.other.php
    variable.other.php[right]

...for the right side?


Q




More information about the textmate mailing list