Home Download Buy Blog Forum Support

Operator colors

Operator colors

Postby kuja01 on Mon Jun 04, 2012 4:29 am

Hello everyone :)
I have a fast question, I was messing up a bit with themes colors and I wanted to change the color of the operators like + - = / ->
I edited the xml color file of the theme, looked around and I edited the color of "operators" but nothing changed.
What am I supposed to change in order to get a different color for the operator?
The theme I use and I would like to change is Zenburnesque.
Posts: 2
Joined: Mon Jun 04, 2012 4:23 am

Re: Operator colors

Postby agibsonsw on Mon Jun 04, 2012 1:55 pm

I tried this and it worked fine for me. So I would suggest:

1) You're modifying the wrong .tmTheme file. The one referred to from Preferences> Color Scheme > Color Scheme - Default is in Packages/Color Scheme - Default (on my Windows).
2) You've made a typo modifying the XML so that it is malformed:
Code: Select all

3) The scope is not 'keyword.operator' for the language you are using; try opening different language files. (This is an unlikely scenario.) Pressing Ctrl-Alt-Shift-P will also reveal the current scope in the status bar.

Option 1) seems the most likely.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: Operator colors

Postby kuja01 on Mon Jun 04, 2012 8:16 pm

Thank you gave me a good hint.
I was editing the right file but the problem was not there but in the c++ config file.
I had to edit it and add the xml code for the missing operators (I stole it from the phyton config file) and now it works :D
I still have to add operators like () and something else in the c++ file.
Posts: 2
Joined: Mon Jun 04, 2012 4:23 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests