]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
the spellcheck cleanup
[lyx.git] / src / BufferView.C
index 1cdbf0c75e9dd9a40e84ef28694497eac714ce27..32245364337c42be2b8609abd5416b020fdb3566 100644 (file)
@@ -362,42 +362,6 @@ void BufferView::redo()
 }
 
 
-// these functions are for the spellchecker
-WordLangTuple const BufferView::nextWord(float & value)
-{
-       if (!available()) {
-               value = 1;
-               return WordLangTuple();
-       }
-
-       return text->selectNextWordToSpellcheck(value);
-}
-
-
-void BufferView::selectLastWord()
-{
-       if (!available())
-               return;
-
-       LyXCursor cur = text->selection.cursor;
-       beforeChange(text);
-       text->selection.cursor = cur;
-       text->selectSelectedWord();
-       update();
-}
-
-
-void BufferView::endOfSpellCheck()
-{
-       if (!available()) return;
-
-       beforeChange(text);
-       text->selectSelectedWord();
-       text->clearSelection();
-       update();
-}
-
-
 void BufferView::replaceWord(string const & replacestring)
 {
        if (!available())