Version: 3.4.1 (using KDE KDE 3.5.7) Installed from: Ubuntu RPMs It seems that, when a wchar_t character is written ( L'c' ), kdevelop's editor doesn't handle it as a character and therefore doesn't highlight it as such. It would be nice if kdevelop's editor could highlight wchar_t characters as if they were characters.
Correction: characters such as L'c' seem to be, in fact, highlighted as characters. Those which aren't highlighted are those that are defined through an escape sequence, such as L'\x0000'.
KDevelop has no editor, it uses kate so this is a bugreport for kate.
(Really reassing to the Kate guys.)
Do I understand right that string are detected correctly but you want the leading "L" to be in string color as well?
Not quite. What I tried to say was that, unlike the case of regular character constants ('a', '1', etc...), if a character constant is described as a bit pattern through octal or hexadecimal encoding ('\x123', '\o123') then that notation will not be coloured as the regular, simple character constants. To put it simply, 'a' gets the constant syntax highlighting but '\x123' and '\o123' do not.
Seems like I didn't read your correction, sorry. What you describe is actually a feature: people have done extra work to make escape sequences stand out. If you don't like that I guess the best way is to "fix" the highlighter on your end. Should be a five minute thing: all you need to do is change a line in the <itemDatas>. If you feel like this is what you need but cannot get it to work I can make you a patch.
Feature, not a bug.