]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
[lyx.git] / src / BufferView.C
index 0386b2d0730984d9c0064ec55572afa6a8f64664..d5160a74205274b997ceecacc2882329254a6197 100644 (file)
@@ -345,7 +345,7 @@ void BufferView::mouseSetCursor(LCursor & cur)
                cursor().text()->deleteEmptyParagraphMechanism(cur, cursor());
 
        cursor() = cur;
-       cursor().resetAnchor();
+       cursor().clearSelection();
        cursor().setTargetX();
        finishUndo();
 
@@ -369,6 +369,18 @@ void BufferView::putSelectionAt(DocIterator const & cur,
 }
 
 
+bool const BufferView::repaintAll() const
+{ 
+       return pimpl_->repaintAll();
+}
+
+       
+void const BufferView::repaintAll(bool r) const
+{ 
+       pimpl_->repaintAll(r);
+}
+
+
 LCursor & BufferView::cursor()
 {
        return pimpl_->cursor_;