[TxMt] Syntax highlighting

Christian maillists at gmx.de
Mon Dec 29 19:58:52 UTC 2008


Hi,
I am working on a latex document and using the newcommand  
"\newcommand{\comisc}[1]{\lstinline[style=comisc]|#1|}". When I write  
something like "\comisc{$MATH_SCALE_FACTOR}". Textmate now colours the  
rest of text in the colour of an equation (here green). I think this  
happens because of that dollar sign for inline formulas and TM thinks  
that is not closed.

Is there way to avoid this behaviour?

Thanks
Christian



More information about the textmate mailing list