Surely:
{ name = 'my.new.scope'; begin = "trace('"; end = "')"; }
and then attach a tab trigger to scope my.new.scope .
I'm a bit new to this, but that seems to work for me. How do you find it, jami?
t.
On 18/07/06, Jami Haavisto jami@game-lion.com wrote:
I was trying to do a new scope for being inside of a certain command parentheses eg. trace( 'here is the new scope' ), so that I could do some special tab triggers inside that scope, but I wasn't able to do it. I tried all kinds of combinations for begin and end in the language grammar with no luck. Apparently I somehow mess up the regular expression.
Can any of you help out ?
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate