[TxMt] Bug in LaTeX syntax highlight

Guido Governatori gvdgdo at gmail.com
Sat Dec 26 09:01:37 UTC 2009


Dear TextMate Users, 

I think I found a bug in LaTeX syntax highlight

Consider, for example:

\[
\begin{array}{l}
\;\{
\end{array}
\]
Lorem ...

In the above snippet of text the text after the math environment (i.e., \]) is in a math scope.  The problem seems to be that the first line after \begin{array} starts with a tex command (i.e., \) and it contains a \{

(easy solution: remember to indent the first line of an array environment; I haven't had time to look at the latex grammar).

All the best

Guido
--
Guido Governatori
http://www.governatori.net/Textmate







More information about the textmate mailing list