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

List:       kde-devel
Subject:    Re: Highlighting and spellchecking
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2012-08-20 1:27:40
Message-ID: CACcA1RrCmkygXRvYQOH5K_z76D1X=iueetJu-wT4w5JjbCreVw () mail ! gmail ! com
[Download RAW message or body]

On Thu, Aug 16, 2012 at 9:58 AM, laurent Montel <montel@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.montel@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 <<

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

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