There are a lot of styles in scintilla, depending on the language.
I'm talking specifically about the C/C++ syntax highlighting.
I found all the styles (I use the word style to refer to the specific color and text formatting of an item, being an item a keyword, a string, a number, ...) are stored in a struct named ObjectColor in Code::Blocks.
That struct holds its name, value, foreground, background, bold, italic, underline and if it's a style.
The variable
value holds the style number used by wxScintilla. In other words, it's the key that maps a specific formatting with its stored value in wxScintilla.
The thing is: wxScintilla is using a style with value 11 for identifiers, which isn't in any of those ObjectColor for the C/C++ color theme.
By not being there it should become the default style (and the default style happen to exist in ObjectColor).
The question is: leaving style 11 out of ObjectColor was intentional just to make it map to default?