On Kate Colorschemes and custom highlighting
Milian Wolff
mail at milianw.de
Fri Jan 8 18:12:14 UTC 2010
On Friday 08 January 2010 18:51:13 Matthew Woehlke wrote:
> Milian Wolff wrote:
> > - the color cache that generates our custom colors is a singleton,
> > currently it only listens to changes in the global KDE color scheme and
> > adapts properly
>
> That doesn't seem right, the system color scheme and kate color scheme
> are only loosely coupled. As soon as someone has modified kate's color
> scheme, a change in kate's colors will never correspond to a change in
> the system color scheme, and vice versa. (Actually I don't know if kate
> is even reacting dynamically to system color scheme changes at this
> point; I want to say it isn't.)
>
> Unfortunately there probably is no interface for kate to notify of color
> scheme changes at this time. (I could be wrong though, I didn't look
> into much when the color scheme interface was written.)
There is, that's exactly what I did for 4.4. I listen for the global color
scheme for 4.3 and it works as long as you have a kate scheme with the
same/similar brightness as your global color scheme.
But of course it fails for bright global vs dark kate or vice versa. That's
exactly what I try to fix, hence this very email.
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100108/c51c8b3b/attachment.sig>
More information about the KDevelop-devel
mailing list