]> git.lyx.org Git - features.git/commitdiff
* fix #3310: When you click on a line after the end of the text,
authorStefan Schimanski <sts@lyx.org>
Mon, 28 May 2007 17:04:05 +0000 (17:04 +0000)
committerStefan Schimanski <sts@lyx.org>
Mon, 28 May 2007 17:04:05 +0000 (17:04 +0000)
  cursor jumps to the follwing math mode text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18545 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index 3fdfd2b6dbdda9eab98bc2738af6e0186ebeb51f..e89151d5ac857ec2d77655cd2ed91e21ebf9b399 100644 (file)
@@ -1429,6 +1429,7 @@ bool BufferView::mouseSetCursor(Cursor & cur)
        //lyxerr << "5 cur after" << dit <<std::endl;
 
        cursor_.setCursor(dit);
+       cursor_.boundary(cur.boundary());
        cursor_.clearSelection();
        finishUndo();
        return update;