Ticket #3969 (closed defect: duplicate)
mcedit: incorrect syntax highlighting for .c and .cxx files
Reported by: | pelya | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mcedit | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
I have found two bugs with highlighting preprocessor commands in .c files in mcedit:
#endif // preprocessor macro with one-line comment int code; /* <-- this line is colorized incorrectly */ int code2; /* <-- next line is colorized properly */ /* this preprocessor macro is not colorized, when there is whitespace before '#' and the next line is not empty */ #if not_colorized int code3; /* this preprocessor macro is colorized properly, the next line is empty */ #if colorized int code4;
Attachments
Change History
Changed 6 years ago by pelya
- Attachment 0001-mcedit-fixed-invalid-syntax-highlighting-when-both-c.patch added
Changed 6 years ago by pelya
- Attachment 0002-mcedit-fixed-syntax-highlighting-bug-in-.c-and-.cxx-.patch added
Patch to fix issue 2
Note: See
TracTickets for help on using
tickets.
Patch to fix issue 1