[TxMt] Creating a new scope for somecmd( )
Tom Armitage
tom.armitage at gmail.com
Tue Jul 18 13:54:42 UTC 2006
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 at 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 at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
More information about the textmate
mailing list