]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
move some selection related stuff over to textcursor.C
[lyx.git] / src / BufferView.C
index 5b0a7330e7748a99c0eb310966b5b2e9b6f0b084..697d85cc2b9d074d586ce75f5d599c88ff228592 100644 (file)
@@ -336,23 +336,12 @@ bool BufferView::insertLyXFile(string const & filen)
 }
 
 
-void BufferView::resetErrorList()
-{
-       pimpl_->errorlist_.clear();
-}
-
-
-void BufferView::setErrorList(ErrorList const & el)
-{
-       pimpl_->errorlist_ = el;
-}
-
-
 void BufferView::showErrorList(string const & action) const
 {
        if (getErrorList().size()) {
                string const title = bformat(_("LyX: %1$s errors (%2$s)"), action, buffer()->fileName());
                owner()->getDialogs().show("errorlist", title);
+               pimpl_->errorlist_.clear();
        }
 }
 
@@ -647,7 +636,7 @@ bool BufferView::ChangeInsets(Inset::Code code,
                                text->setCursorIntern(it.pit(), 0);
                                text->redoParagraphs(text->cursor,
                                                     boost::next(text->cursor.par()));
-                               text->fullRebreak();
+                               text->partialRebreak();
                        }
                }
        }