[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: yup,   kate's HL code is bork
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2007-06-26 22:29:34
Message-ID: f5s40f$trd$1 () sea ! gmane ! org
[Download RAW message or body]

Mirko Stocker wrote:
> I think I've fixed the normal color rendering, and I even know why it occured. 
> The problem happens in KateHighlighting::doHighlight. At the moment we just 
> return if noHl is set, but the original code used memset to clean out the 
> attributes. My patch just sets the attributes to 0 and it works again :)

Nope... that does seem to fix the non-highlighter, but the problem still 
occurs with highlighters (try Scripts/Bash, for example). Therefore I'm 
not convinced that this is the problem; sorry :-).

> I was also trying to fix the other color issues with the highlighting, but I 
> wasn't even able to find the code that actually draws the text with the 
> color. Can somebody help me with that?

Unfortunately, I don't know where it is either :-(. I suspect when you 
find it, however, you'll be able to fix several issues at once.

-- 
Matthew
"...anyway, that's my 0.02 toasters"
(with apologies to Niel)

_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic