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

List:       kde-commits
Subject:    KDE_3_4_BRANCH: kdesdk/kbabel/kbabel
From:       Ben Burton <bab () debian ! org>
Date:       2005-03-31 10:14:56
Message-ID: 20050331101456.9C5F14A6 () office ! kde ! org
[Download RAW message or body]

CVS commit by benb: 

Replace check() with checkWord().  This appears to prevent situations in which kbabel \
can crash without warning during on-the-fly spellchecking (in particular, for a long \
entry with lots of spelling errors).  Patch posted to kde-core-devel on 25 March, no \
objections raised.  See http://bugs.debian.org/289646 for further details.


  M +1 -2      kbhighlighting.cpp   1.14.2.1


--- kdesdk/kbabel/kbabel/kbhighlighting.cpp  #1.14:1.14.2.1
@@ -239,6 +239,5 @@ bool KBabelHighlighter::isMisspelled(con
     kdDebug(KBABEL) << "Adding word " << word << endl;
     dict.replace(word, Okay);
-    // yes I tried checkWord, the docs lie and it didn't give useful signals :-(
-    mSpell->check(word, false);
+    mSpell->checkWord(word, false);
     return false;
 }


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

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