Author Topic: set syntax highlighting color to *default*?  (Read 5419 times)

Offline Greyh0und

  • Single posting newcomer
  • *
  • Posts: 3
set syntax highlighting color to *default*?
« on: June 23, 2010, 01:00:06 pm »
Can I set a color to *default* in the syntax highlighting, instead of a specific color? If so, how do I do that? (couldn't find anything in  the wiki D: )

Offline Greyh0und

  • Single posting newcomer
  • *
  • Posts: 3
Re: set syntax highlighting color to *default*?
« Reply #1 on: July 05, 2010, 07:15:14 am »
*bump*

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: set syntax highlighting color to *default*?
« Reply #2 on: July 05, 2010, 07:19:02 am »

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Greyh0und

  • Single posting newcomer
  • *
  • Posts: 3
Re: set syntax highlighting color to *default*?
« Reply #3 on: July 13, 2010, 11:01:19 am »
Nope, that's not what I want to do. That just resets the colors back the default colors.

What I want to do is set the 'background' of 'Matching brace highlight' to '*default*'
Then if I change the background color in 'Default' to blue, the background of 'Matching brace highlight' will also become blue instead of staying white.

I think my request is not possible for now :(
Syntax theming in Codeblocks is still one of the things that suck :/