User forums > Using Code::Blocks

Syntax highliting problems with recent svn builds ( > rev 8032 )

(1/2) > >>

earlgrey:
- C++ preprocessor directives remain uncolorized ; did I miss a new option ?

- my personal syntax highlight settings are...hum...in fact where have they gone ?

earlgrey:
I guess it has something to do with this topic : http://forums.codeblocks.org/index.php/topic,16720.0.html...

Radek:
On starting Code Blocks today (after some time), I also got surprised what happened to highlighting. Version 8164, svn, 32-bit Gnome, Debian. The highlighting used to work perfectly all the time but now:

- #include directives aren't highlighted (and neither do other compiler directives)
- all "non-chars, non-digits" like brackets, colons, semicolons, operators, etc. have "selected" background and default foreground (like they are in a block)
- selection does not work at all, at least, visually
- the highlighting settings has changed for some reason at some items (comments or digits, for example)

Okay, I have fixed the unwanted changes but I wasn't able to put in work highlighting for compiler directives, "non-chars, non-digits" and selection. The settings for highlighting seem to be okay, all colors are correct in the "choose color" part of the setting dialog but wrong in the "demonstration" part (the piece of code below) and in the editor itself. Closing and reopening does not help. The settings seem to be ignored partially and some defaults seem to be used instead. Unusable.

Alpha:
If possible, can you update to revision 8242 (or newer)?  This revision fixes (or attempts to fix) a longstanding issue with loading custom color schemes.

If problems persist, could you post your default.conf?

Radek:
The latest version for Debian seems to be 8164. I searched for some newest ones but I found only older ones. default.conf is here:

Navigation

[0] Message Index

[#] Next page

Go to full version