News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

syntax highlighting - separate colors for preprocessor directives and headers

Started by johnnyEM808, May 07, 2015, 10:42:02 PM

Previous topic - Next topic

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]