]> git.lyx.org Git - features.git/commitdiff
bug 2061: Right Arrow has to be pressed twice to move cursor
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 25 Oct 2005 11:46:12 +0000 (11:46 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 25 Oct 2005 11:46:12 +0000 (11:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10574 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/text.C

index 56389f7d115a0fb77d2202173f8b085476908c38..872cf0db6f2459c2f7f485fb203ac2220b83dc2e 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text.C (insertChar): do not reset boundary (bug 2061)
+
 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * dociterator.C (updateInsets): new method. Updates the inset_
index 4603d9a2f9fc051e17500919bf1d5b9651541dfd..264a732a3c8f08352e554fd1136600028d8a9070 100644 (file)
@@ -1187,8 +1187,7 @@ void LyXText::insertChar(LCursor & cur, char c)
 
        current_font = rawtmpfont;
        real_current_font = realtmpfont;
-       //setCursor(cur, cur.pit(), cur.pos() + 1, false, cur.boundary());
-       setCursor(cur, cur.pit(), cur.pos() + 1, false, true);
+       setCursor(cur, cur.pit(), cur.pos() + 1, false, cur.boundary());
        charInserted();
 }