Sublime Forum

Dev Build 3111 C/C++ Syntax Highlighting Regression

#1

Highlighting blocks within nested preprocessor conditionals in C/C++ is not working correctly now. In the screenshot below, int c = 3; is wrongly greyed out, whereas int b = 2; and int d = 4; should be greyed out but are not. (Screenshot is the entire file, no other code is affecting the highlighting).

0 Likes

#2

Just so this doesn’t get missing when I am working on the packages for the next dev build, could you file an issue at https://github.com/sublimehq/Packages/issues with a copy of the example source?

0 Likes