]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
reduce number of calls to LyXText::getFont
[lyx.git] / src / BufferView.C
index 918d7a3e33c556cc94bdc93fbf9b17fc578a8bd7..5009b2961d6d336541f9a8c1bbfd65498368432c 100644 (file)
@@ -142,9 +142,9 @@ bool BufferView::fitCursor()
 }
 
 
-void BufferView::update(bool fitcursor, bool forceupdate)
+void BufferView::update(Update::flags flags)
 {
-       pimpl_->update(fitcursor, forceupdate);
+       pimpl_->update(flags);
 }
 
 
@@ -241,7 +241,7 @@ void BufferView::scroll(int lines)
 void BufferView::showErrorList(string const & action) const
 {
        if (getErrorList().size()) {
-               string const title = bformat(_("LyX: %1$s errors (%2$s)"),
+               string const title = bformat(_("%1$s Errors (%2$s)"),
                        action, buffer()->fileName());
                owner()->getDialogs().show("errorlist", title);
                pimpl_->errorlist_.clear();