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

List:       kde-commits
Subject:    KDE/kdepim/libkdepim (silent)
From:       Thomas McGuire <Thomas.McGuire () gmx ! net>
Date:       2008-05-01 14:17:15
Message-ID: 1209651435.770780.23086.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 802999 by tmcguire:

Looks like I've misspelled "misspelled"...

SVN_SILENT


 M  +7 -7      kmeditor.cpp  


--- trunk/KDE/kdepim/libkdepim/kmeditor.cpp #802998:802999
@@ -401,7 +401,7 @@
   // call createHighlighter() which will create our own highlighter which also
   // does quote highlighting.
   // However, *our* spellchecking is still disabled. Our own highlighter only
-  // cares about our spellcheck status, it will not highlight missspellt words
+  // cares about our spellcheck status, it will not highlight missspelled words
   // if our spellchecking is disabled.
   // See also KEMailQuotingHighlighter::highlightBlock().
   spellCheckingEnabled = false;
@@ -650,28 +650,28 @@
                              mousePos >= cursor.selectionStart() &&
                              mousePos <= cursor.selectionEnd();
 
-  // Get the word under the (mouse-)cursor and see if it is misspellt
+  // Get the word under the (mouse-)cursor and see if it is misspelled
   QTextCursor wordSelectCursor( cursorAtMouse );
   wordSelectCursor.clearSelection();
   wordSelectCursor.select( QTextCursor::WordUnderCursor );
   QString selectedWord = wordSelectCursor.selectedText();
-  bool wordIsMisspellt = !selectedWord.isEmpty() &&
+  bool wordIsMisspelled = !selectedWord.isEmpty() &&
                          d->replacements.contains ( selectedWord );
 
   // If the user clicked a selected word, do nothing.
   // If the user clicked somewhere else, move the cursor there.
-  // If the user clicked on a misspellt word, select that word.
+  // If the user clicked on a misspelled word, select that word.
   // Same behavior as in OpenOffice Writer.
   if ( !selectedWordClicked ) {
-    if ( wordIsMisspellt )
+    if ( wordIsMisspelled )
       setTextCursor( wordSelectCursor );
     else
       setTextCursor( cursorAtMouse );
     cursor = textCursor();
   }
 
-  // Use standard context menu for normal words and our own for misspellt words
-  if ( !wordIsMisspellt || selectedWordClicked ) {
+  // Use standard context menu for normal words and our own for misspelled words
+  if ( !wordIsMisspelled || selectedWordClicked ) {
     KTextEdit::contextMenuEvent( event );
   }
   else {
[prev in list] [next in list] [prev in thread] [next in thread] 

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