C mode line comments
Submitted by Monday, 6 November, 2006 - 23:03
on
Using jEdit4.2final. Problem with mode C and line comments.
#define SAT_DEFAULT 128 // Saturation Control Register [128/0x80]
Editor sees the line comment as something else. The syntax highlight color is dark green (keyword2) just like the constant label. The numbers inside the square brackets are highlighted as digit (bright red). If the comment is enclosed with /*....*/ it is correctly recognized as a comment. It appears that this problem happens when the line comment follows a digit type. This bug was supposedly fixed see 696765
#define SAT_DEFAULT 128 // Saturation Control Register [128/0x80]
Editor sees the line comment as something else. The syntax highlight color is dark green (keyword2) just like the constant label. The numbers inside the square brackets are highlighted as digit (bright red). If the comment is enclosed with /*....*/ it is correctly recognized as a comment. It appears that this problem happens when the line comment follows a digit type. This bug was supposedly fixed see 696765