Bug#2412: Editor doesn't recognize keywords

Pétur Runólfsson petur_r at usa.net
Sun Dec 12 15:48:55 UTC 1999


Package: kdevelop
Version: 1.0
Severity: normal

Bugreport ID : 13:10,10.12.99

Originator	: Pétur Runólfsson
E-Mail		: petur_r at usa.net

Subject : Editor doesn't recognize keywords

Error Class	: software bug
Error Location	: editor
Priority	: low
Bug Description ---------------------------

The KDevelop editor doesn't highlight the C++ keywords and
alternative representations const_cast, and_eq, or_eq, not_eq
and xor_eq

How to repeat the error -------------------

Type in the full list of keywords and alternative representations.
They will all be highlighted except const_cast, and_eq, or_eq,
not_eq and xor_eq.

Bugfix or Workaround ----------------------

I have looked at the source in highlight.cpp and found these
"missing" keywords in the list "cppKeywords". However, I see a
pattern. The missing keywords all have underscores and the part
before the underscore exists as a seperate keyword that is also
listed in "cppKeywords". Note that static_cast was highlighted
even though static is a keyword, it is just listed elsewhere.

System Information ------------------------

KDevelop version	: 1.0
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: Linux - kernel 2.2.13, glibc 2.1.1
Compiler		: egcs-2.91.66

misc :

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1




More information about the KDevelop-devel mailing list