]> git.lyx.org Git - features.git/commitdiff
Fix bug 3101 and 3108
authorAbdelrazak Younes <younes@lyx.org>
Wed, 17 Jan 2007 12:29:18 +0000 (12:29 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 17 Jan 2007 12:29:18 +0000 (12:29 +0000)
http://bugzilla.lyx.org/show_bug.cgi?id=3101
http://bugzilla.lyx.org/show_bug.cgi?id=3108

* BufferView::setCursor(): delete the call to cursor_.setTargetX(). This is called differently for any LFUN anyway.

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

src/BufferView.C

index 0355f33e169b83753e1d870d6b804110c543e4a7..92ed1d86399fd8f6f5ca6071ad822b58e58eeacd 100644 (file)
@@ -1244,8 +1244,6 @@ void BufferView::setCursor(DocIterator const & dit)
                dit[i].inset().edit(cursor_, true);
 
        cursor_.setCursor(dit);
-       // remember new position.
-       cursor_.setTargetX();
        cursor_.selection() = false;
 }