]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView2.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / BufferView2.C
index b58b1c3ca69174f352dac9b8b5d30db93e1f9121..6f84e5f5b0efcd6db583435569abd78e6adae09d 100644 (file)
@@ -231,7 +231,7 @@ void BufferView::menuUndo()
                beforeChange(text);
                update(text, BufferView::SELECT|BufferView::FITCUR);
                if (!textUndo(this))
-                       owner()->message(_("No forther undo information"));
+                       owner()->message(_("No further undo information"));
                else
                        update(text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
                setState();
@@ -339,7 +339,7 @@ string const BufferView::nextWord(float & value)
                return string();
        }
 
-       return text->selectNextWord(this, value);
+       return text->selectNextWordToSpellcheck(this, value);
 }