As-you-type spell checking and color quoting implemented in the composer

Don Sanders sanders at kde.org
Tue Jan 21 14:10:55 GMT 2003


Hi,

I've committed support for as-you-type spell checking and color 
quoting in the KMail composer.

http://trolls.troll.no/sanders/spell/spell.png

The original code is by Trolltech AS and I ported it to KMail and 
KSpell. It's based on the new QSyntaxHighlighter class.

Except for reading some default kmail colors the code is quite generic 
and can simply plug into any QTextEdit based object.

It might make sense for methods to be added to set the colors and for 
this class to be moved into kdelibs, so that all QTextEdit based 
widgets can use it, and maybe later QLineEdit based widgets as well 
(eg. the ksirc line edit).

I've committed to make_it_cool, if no one objects I'll integrate this 
from make_it_cool into KMail HEAD.

Don.





More information about the kde-core-devel mailing list