I want to report a bug with the C/C++ Source Code syntax highlighting.
In preprocessor directives, such as the #define macro, the C++ comments is included into the macro, i.e. it should not be treated as a comment.
#define URL "http://example.com/"
will give URL the value "http://example.com/", but the // will make Scintilla treat the rest of the line as a comment... it looks really weird.
The same is true for /* */ comments, in addition, the " in the end causes the rest of the line to go yellow:
#define LOGO "test /*test*/ test"
I encountered this bug in Notepad2, but the author told me this was a bug in Scintilla and told me to report it here.
Thanks, I hope you'll find the time to fix this bug.