Hello,
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.
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?
Thanks! Tim
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++.