[TxMt] Patch for Tcl Syntax

Oscar Bonilla ob at bitmover.com
Thu Sep 8 23:15:20 UTC 2005


Cool. It appears to fix it (in my limited testing). I'll report back  
if I find anything unusual.

Thanks,

-Oscar

On Sep 8, 2005, at 4:10 PM, Allan Odgaard wrote:

> On 09/09/2005, at 0.51, Oscar Bonilla wrote:
>
>
>> One other question though... inside strings, if I use the brackets  
>> to embed code, should I see syntax highlighting?
>>
>
> Well, it was supposed to :) but all keyword rules include the [ or  
> { as part of the match (since they are only keywords in that case),  
> and for the embedded code in strings, the [ was already parsed.
>
> I've changed all keyword rules to use look-behind instead.
>
> Let me know if there are problems (I'm not a Tcl programmer myself).
>
> ______________________________________________________________________
> 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
>

--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544  80CA F7D5 784D FB46 16C1




More information about the textmate mailing list