]> git.lyx.org Git - lyx.git/commitdiff
make a CURSOR update if we inserted a character (fix #312).
authorJürgen Vigna <jug@sad.it>
Fri, 5 Apr 2002 12:31:42 +0000 (12:31 +0000)
committerJürgen Vigna <jug@sad.it>
Fri, 5 Apr 2002 12:31:42 +0000 (12:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3910 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insettext.C

index 3e112a1d9b99d02abaf613834308ac62e7578c8d..5d983029b6cc718ce7940c9c5cf0ab8b494d7130 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-05  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (localDispatch): make a CURSOR update if we inserted
+       a character.
+
 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * insetfloatlist.C (getScreenLabel): 
index 7448eb2fa21226d57d4e6d5c40db75437e272f3f..41a4a1c97881953b7801ea954328ed36161e71c8 100644 (file)
@@ -1190,7 +1190,7 @@ InsetText::localDispatch(BufferView * bv,
                        }
                }
                lt->selection.cursor = lt->cursor;
-               updwhat = CURSOR_PAR;
+               updwhat = CURSOR | CURSOR_PAR;
                updflag = true;
                result = DISPATCHED_NOUPDATE;
                break;