[TxMt] Latex Bundle: \{ in math mode.

Charilaos Skiadas cskiadas at uchicago.edu
Thu Nov 3 20:11:39 UTC 2005


The last changes in the LaTeX Bundle broke down syntax coloring for  
things like this:
$D_1=\{x_1^2\}$
Basically, the \{ inside math mode is considered  
constant.language.generic
while the \} is not.
The relevant code is
                 {    name = 'constant.language.general';
                     match = '\\([^a-zA-Z]|[A-Za-z]+)(?=\b|\}|\]|\^| 
\_)';
                 },
Can't see right now what the problem is with it, maybe someone else  
can spot it.
Thanks.

Haris






More information about the textmate mailing list