[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Spell checking
From: Thomas Zander <zander () kde ! org>
Date: 2010-03-28 17:59:21
Message-ID: 201003281959.23062.zander () kde ! org
[Download RAW message or body]
On Sunday 28. March 2010 07.33.24 Thorsten Zachmann wrote:
> Hello,
>
> I was trying out spell checking and found some problems I write here about
> to get input on how it might get fixed so I can give it a try or if I will
> file a bug report.
>
> 1. Spell checking underlines are drawn even if forPrint in
>
> virtual void paint(QPainter &painter, const KoViewConverter &converter,
> bool forPrint);
>
> is set to true. This results the printouts and presentations in all apps
> besides kword to have the red underlines in printouts. KWord works around
> this problem by removing the QTextLayout::additionalFormat before
> printing. Any idea on how to not draw the underline in case forPrint is
> set.
Try to move that code to komain?
> 2. A word is only underlined when the next word after the wrong word is
> ended. So if I type "hjk as" hjk will not be marked as wrong as long there
> is no space behind as. If my memory serves me right this was working with
> qt 4.5 and stopped when I updated to 4.6
No idea. Could be a lot of things. You'd need to debug it. Notice that there
is a unit test in the spellchecker dir too. Maybe you can check if it covers
this usecase.
--
Thomas Zander
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic