This change in lexer_cpp.xml:
<Style name="Comment (normal)"
index="1,23"
fg="160,160,160"/>
is causing problems. When i changed it back to the previous form:
<Style name="Comment (normal)"
index="1"
fg="160,160,160"/>
the highlighter works correctly. The added ",23" part borks the highlighter and causes it to select colors from wrong entries.
I think that this is probably the cause of the issue that some users are experiencing (the new wxSmith generated code highlighting is the only other lexer related change, and it can be disabled). My guess is that even though the new index is correct (for the most recent Scintilla update), Code::Blocks cannot correctly load previously saved user customized color schemes (likely because of the added index).
A possible solution would be for the affected users to manually search
default.conf for the lexer related entries, modifying what seems appropriate,
or deleting/moving
default.conf, and recreating the preferred color scheme.