[TxMt] scope to the left of caret?

Allan Odgaard throw-away-1 at macromates.com
Sat Apr 22 00:11:12 UTC 2006


On 20/4/2006, at 21:07, Quinn Comendant wrote:

> Any way you can think of resurrecting the scope of the char left of
> caret? My need is to know when I'm typing $a_php_variable and my  
> cursor
> is at the end. I tried defining a scope match patter with a look- 
> behind
> pattern, but couldn't get it working.

The only way would be to add \s? to the variable matching rule. Maybe  
put that in a capture so it could be named something like meta.after- 
variable.





More information about the textmate mailing list