bug 2163: mouse release does not properly reset cur.selection()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10671 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-12-19 11:47:13 +00:00
parent 5858a82efa
commit 6c099a65f8
2 changed files with 6 additions and 1 deletions

View File

@ -345,7 +345,7 @@ void BufferView::mouseSetCursor(LCursor & cur)
cursor().text()->deleteEmptyParagraphMechanism(cur, cursor());
cursor() = cur;
cursor().resetAnchor();
cursor().clearSelection();
cursor().setTargetX();
finishUndo();

View File

@ -1,3 +1,8 @@
2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* BufferView.C (mouseSetCursor): clear the selection properly (bug
2163).
2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* text.C (redoParagraph): honor inset->noFontChange()