<p>Hi,</p><p>I already looked in cpphighlighting.cpp but found only<br></p><p>///@todo Find the correct text foreground color from kate! </p><p>Enclosed is patch that also set the foreground.</p><p>Greetings,Uwe</p><p></p>
<p></p><p></p><br><div class="gmail_quote">2008/12/13 David Nolden <span dir="ltr"><<a href="mailto:zwabel@googlemail.com">zwabel@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am Samstag, 13. Dezember 2008 12:01:19 schrieb Uwe Kaiser:<br>
<div><div class="Wj3C7c">> Hi,<br>
><br>
> is it possible to get the backgroundcolor from the editor.<br>
> Normal I use a dark background and bright foreground,<br>
> but the contextbrowser uses yellow to highlight, so I can't read the<br>
> hightlighted code.<br>
> So I would like to test if it is possible to change the color that the<br>
> contextbrowser plugin<br>
> use for hightlighting depending on the backgroundcolor<br>
><br>
> Cheers<br>
> Uwe Kaiser<br>
</div></div>It should be possible in some way, but I haven't had the endurance to find out<br>
how. You can see some tries in cpphighlighting.cpp, that's the place where<br>
most of the code-highlighting happens, except for the one special<br>
highlighting you talk about, that happens in the context-browser. We need a<br>
way of making sure that the contrast between text and its background stays<br>
readable. The simple way of solving the context-browser highlighting problem<br>
would be just changing the text-color of the highlighted text as well so it's<br>
readable on the yellow.<br>
<br>
Greetings, David<br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</blockquote></div><br>