Author Topic: syntax highlighting - separate colors for preprocessor directives and headers  (Read 3385 times)

Offline johnnyEM808

  • Single posting newcomer
  • *
  • Posts: 4
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
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!]

Offline johnnyEM808

  • Single posting newcomer
  • *
  • Posts: 4
Scintilla limitation. I see. Thanks.

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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
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!]