highlighting (was: duchain unstable?)

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Nov 20 21:40:38 UTC 2008


David Nolden wrote:
> Am Donnerstag, 20. November 2008 17:48:36 schrieb Matthew Woehlke:
>> On a (vaguely) related note, how the *(%$# do I turn off the broken
>> highlighting? Besides that there *really* should be an option to turn it
>> off for people that just don't want/need it, it invariably insists on
>> using colors that make whatever it fiddles with illegible. (Someone
>> isn't using KColorUtils...)
> 
> There's no option for it yet. Yep that option would be useful. But on my 
> machine the highlighting not broken at all, rather it rocks. ;)
> 
> Are you using a dark background color scheme?

Worse; I'm using a yellow-on-blue color scheme :-). (Actually it's based 
on what I remember being default for Borland's IDE a decade or so ago, 
that I've stuck with ever since.) To be fair, light colors are generally 
safe, but I'm getting obnoxious light-green backgrounds against yellow 
text on *some* (not all!) CMake variable names, which is totally 
illegible, and IIRC selecting the text doesn't help.

> See kdevelop/languages/cpp/cpphighlighting.cpp if you want to change/disable 
> it.

Thanks, maybe I'll look at it later. (Hint: KCU::contrastRatio will tell 
you if a given color is a Bad Idea... assuming katepart tells you what 
the background color is; if it doesn't, well, that needs to be fixed, 
like, a month ago ;-).)

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
C++ is for people who want to be able to not just shoot themselves in 
the foot, but do it with a rocket launcher. -- Igor Peshansky





More information about the KDevelop-devel mailing list