From kde-core-devel Tue Jan 21 14:10:55 2003 From: Don Sanders Date: Tue, 21 Jan 2003 14:10:55 +0000 To: kde-core-devel Subject: As-you-type spell checking and color quoting implemented in the composer X-MARC-Message: https://marc.info/?l=kde-core-devel&m=104315760625468 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.