Menu

#675 Incorrect syntax highlighting with escape character

open
nobody
None
5
2012-09-26
2007-08-21
Osito
No

4.9.9.2, Windows XP

When the escape character '\' is used at the end of a line, the syntax coloring is inconsistent. In the case of a #define it works properly:

define A B+\

C+D

makes both lines green.

But with a comment it does not:

i=1; // set i to 1\ j=1;

The j=1; line becomes part of the comment on the previous line and is not included in the compile. But the line is still colored black as if it will be included rather than blue and italic like a comment.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.