GNOME Bugzilla – Bug 323008
Comments on the same line has header includes aren't highlighted C, but ARE on #define, etc.
Last modified: 2006-07-26 12:32:35 UTC
Distribution/Version: 6.0-RELEASE Set the highlight mode to C. #include <stdio.h> // Some comment. The comment should be highlighted as a comment, but is left the same colour as the #include, whereas on: #define SOMENAME 1 // Some comment. The comment is highlighted.
Confirmed. This is happening for me also in 2.12.1
Yes this is known gtksourceview problem, the current highlighting engine is not able to highlight nested contexts (a comment inside a define). A more powerful highlighting engine is under developement to solve this and many other similar issues.
*** This bug has been marked as a duplicate of 137587 ***