[Bug 41345] syntax-highlighting problem with c-code
Rumpeltux
fritsch+launchpad.net at in.tum.de
Tue Apr 25 17:38:38 UTC 2006
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
More information about the desktop-bugs
mailing list