Code::Blocks Forums
User forums => Help => Topic started by: humodz on December 04, 2013, 02:56:55 pm
-
When I write an one-line comment that starts with (*, codeblocks makes this strange highlighting:
(http://i.imgur.com/LymFCnq.png)
Everything after the line with //(* becomes blue/purple and italic, and the text in the same line uses the correct comment highlighting (brown in my case). Even though the code compiles correctly, this problem messes the whole code's highlighting after that point.
I tried changing everything in syntax highlighting to black, but that thing persists.
-
//(* and //*) are the tags used by wxSmith to mark auto-generated text-blocks.
If you uncheck "Settings -> Editor.. -> General settings -> C/C++-Edito settings -> Highlight wxSmith sections differently" the highlighting should be normal again.
-
Thanks. I never used wxSmith, so didn't know about that setting.
-
Of note, 13.12-RC1 (and recent nightlies) use stricter detection rules, by which this given example is classified as regular code, not wxSmith generated.