User forums > Using Code::Blocks

syntax highlighting - separate colors for preprocessor directives and headers

(1/1)

johnnyEM808:
Many IDEs offer the possibility of having different syntax highlighting colors for preprocessor directives and preprocessor headers. In

#include <Windows.h>
#include "gl_shader.hpp"

They set different colors for #include and the headers <Windows.h> and "gl_shapper.hpp"

#define is another preprocessor directive

In C::B, I haven't found a way to differentiate the highlighting colors for the preprocessor directives and headers

oBFusCATed:
I think, this is a limitation/behaviour of Scintilla, our editor component.

johnnyEM808:
Scintilla limitation. I see. Thanks.

Is Scintilla getting updated in the next C:B release?

oBFusCATed:
The night builds are using almost the latest version, so definitely yes it will be updated.

Navigation

[0] Message Index

Go to full version