]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView2.C
add missing writeNormal() methods to some insets
[lyx.git] / src / BufferView2.C
index b58b1c3ca69174f352dac9b8b5d30db93e1f9121..58f73496e092c7abc742961b9d09661b8e36977b 100644 (file)
@@ -79,7 +79,7 @@ bool BufferView::insertLyXFile(string const & filen)
                return false;
        }
        
-       char const c = ifs.peek();
+       int const c = ifs.peek();
        
        LyXLex lex(0, 0);
        lex.setStream(ifs);
@@ -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);
 }