[TxMt] Re: Coloring parentheses in C++ code
Allan Odgaard
mailinglist at textmate.org
Fri May 7 06:47:34 UTC 2010
On 23 Mar 2010, at 11:11, TimUA wrote:
> I was trying to give all (round) parentheses a certain color while
> editing
> in C++.
> Can someone help me to achieve this? Sorry if that has been asked
> before.
What exactly did you try? Did you read about language grammars?
http://manual.macromates.com/en/language_grammars
> As a second question, would it be possible to give parentheses of
> function
> calls a different color, or ideally color all the text within the
> brackets?
Yes, to the degree that you can identify “parentheses of function
calls” which is quite tricky with C++.
More information about the textmate
mailing list