[TxMt] Re: Looking for highlighting braces, curly and brackets

Ben Wilson dausha at gmail.com
Mon Nov 1 16:59:46 UTC 2010


Eats braces? It sounds like a regex problem. Look for "Lookahead" and
"Lookbehind" logic. That should let you include them.

On Mon, Nov 1, 2010 at 11:20 AM, jokoon <ezjonas at gmail.com> wrote:
>
> Hello :)
>
> I have read that the C/C++ grammar "eats" all braces so that it is not
> possible to highlight them with the punctuation identifier.
>
> Apparently I have to modify the default grammar to something different, I
> tried to remove stuff that contains blocks and other similars, but I can't
> make it work...
>
> Can somebody help me ? I just want to be able to change the colors of those
> characters:
> {}[]()
> --
> View this message in context: http://old.nabble.com/Looking-for-highlighting-braces%2C-curly-and-brackets-tp30105415p30105415.html
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>



-- 
Ben Wilson
"We cannot determine the character or nature of a system within
itself. Efforts to do so will only generate confusion and disorder."
Boyd



More information about the textmate mailing list