Public bug reported:
Affects: gedit (Ubuntu)
Severity: Normal
Priority: (none set)
Status: Unconfirmed
Description:
following c-code will be highlighted wrong:
if(key == 0xdf) key = 0x5c; //sz -> \\
if(key == '+') key = '~';
the second line is also a comment due the backslash at the end, but is not
highlighted as such. because i assume gedit thinks the backslash has been
escaped, but gcc does not care and assumes the next line to be a comment as
well.
for example vim handles this correctly.
--
syntax-highlighting problem with c-code
https://launchpad.net/bugs/41345
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs