Bug 141377

Summary: Spell check not possible in HTML messages
Product: [Applications] kmail Reporter: Philippe <animimotus>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Philippe 2007-02-08 01:59:58 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

Enter a line with orthographic correction activated: it works (make some mistakes and the words become red)

Now switch the text to a list (bullet, ordered...) : the aspell is desactivated

the (french) message I have:

"La vérification orthographique n'est pas possible sur du texte présentant un marquage."

Huuuu ? oO

Thx ^^
Comment 1 Thomas McGuire 2007-02-08 16:36:36 UTC
Well, the message says that spell checking is not possible with HTML messages.
Using any kind of lists automatically enables HTML formating.
Comment 2 Tobias Niwi 2007-12-15 19:19:03 UTC
While this is technically a wish by significance it is a serious bug. It is unacceptable that an e-mail client doesn't support spell checking for html-mails.
Comment 3 Thomas McGuire 2008-03-13 19:49:32 UTC
SVN commit 785309 by tmcguire:

Fix various spellcheck/highlighting issues:

- Decouple quote highlighting from spell highlighting, now
  quote highlighting works again when spellchecking is disabled.

  Unfortunatley, this is a bit hacky, as the methods from KTextEdit
  could not be reused, because they weren't virtual. KMeditor hides
  spellcheck-related methods inherited from KTextEdit and implements
  its own, properly working ones.

- Move more spellcheck code into KMeditor
- Many bugfixes related to spelling
- In KMail, sync languages used for spelling correctly between the
  highlighter, the config dialog and the spell dialog. This needs
  kdelibs 4.0.67 to work properly.

Also, spell checking in HTML mode now works, but again, you need an 
updated kdelibs.

BUG: 79681
BUG: 110835
BUG: 126361
FEATURE: 141377



 M  +14 -23    kmail/kmcomposereditor.cpp  
 M  +0 -2      kmail/kmcomposereditor.h  
 M  +21 -30    kmail/kmcomposewin.cpp  
 M  +1 -5      kmail/kmcomposewin.h  
 M  +4 -2      knode/kncomposer.cpp  
 M  +4 -4      knode/kncomposereditor.cpp  
 M  +10 -1     libkdepim/dictionarycombobox.cpp  
 M  +1 -0      libkdepim/dictionarycombobox.h  
 M  +51 -37    libkdepim/kemailquotinghighter.cpp  
 M  +37 -11    libkdepim/kemailquotinghighter.h  
 M  +74 -4     libkdepim/kmeditor.cpp  
 M  +79 -3     libkdepim/kmeditor.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=785309