[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 108370] New: C/C++ syntax highlight doesn't distinguish
From: Ruslan Mstoi <rmstoi () hotmail ! com>
Date: 2005-06-30 13:25:55
Message-ID: 20050630152554.108370.rmstoi () hotmail ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=108370
Summary: C/C++ syntax highlight doesn't distinguish comments on
the same line as #define
Product: kate
Version: 2.4.1
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kwrite-devel kde org
ReportedBy: rmstoi hotmail com
Version: 2.4.1 (using KDE KDE 3.4.1)
Installed from: Compiled From Sources
Compiler: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-52)
OS: Linux
The C/C++ syntax highlight doesn't seem to notice comments on the same
line as #define. For example:
#define TRUE 1 /* just some comment */
or
#define TRUE 1 // just some comment
In either cases the whole line is colored as preprocessor.
On the other hand #ifdef, #elif, #undef, #endif seem to work
ok.
It would also be nice to have tokens highlighted in different
color. I.e. in this case #define could be colored as preprocessor
command, and toked TRUE could be colored in some other color.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic