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