On Thu, Aug 16, 2012 at 9:58 AM, laurent Montel <mon...@kde.org> wrote: > Le jeudi 16 août 2012 02:09:11 Aleix Pol a écrit : >> Hi KDE Devels! >> In KDevelop we have a QTextEdit that is used to fill the commit >> message, before committing. This QTextEdit has syntax highlighting for >> git, so that you'll get some error notifications in case you fill the >> second line or you exceed the maximum line length. >> >> One of the things I added to my to-do list is to add spell-checking >> there. The problem is that I planned to use KTextEdit with >> spell-checking on but that wouldn't work, if I setCheckSpelling(true) >> then the highlighter won't work. >> >> Now here's the question: is this a bug? Am I expected to create a >> highlighter that will care both about spell-checking and the syntax >> highlighting? Is there any similar use case I could get inspired to? > > kmail. > Look at : > kdepimlibs/kpimtextedit/emailquotehighlighter.cpp > > We have in kmail editor spell checking + hightlighting (quote) > > Regards > >> Thanks in advance!! >> Aleix >> >> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe >> >> << > -- > Laurent Montel | laurent.mon...@kdab.com | KDE/Qt Senior Software Engineer > KDAB (France) S.A.S., a KDAB Group company > Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090 > KDAB - Qt Experts - Platform-independent software solutions
That was great! :) Already implemented! ^^ Cheers! Aleix >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<