]> git.lyx.org Git - features.git/commitdiff
fix cursor positioning at the end of lyxfunc::dispatch
authorAlfredo Braunstein <abraunst@lyx.org>
Mon, 17 Nov 2003 20:20:55 +0000 (20:20 +0000)
committerAlfredo Braunstein <abraunst@lyx.org>
Mon, 17 Nov 2003 20:20:55 +0000 (20:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8099 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/lyxfunc.C

index cc57be09725361455d876d1188ec0826e72fb571..302cd62c17bda41cbe99d85207756e289c07607e 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
+       cursor position after e.g. inset insert)
+
 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
 
        * lyxfind.C (replace): adjust to locking removal + some
index e78f61d7659a7f595bacda595f0031c82efed7d9..6891eee207efb049c2a0222d33e902c2a1d60f11 100644 (file)
@@ -1409,7 +1409,7 @@ void LyXFunc::dispatch(FuncRequest const & func, bool verbose)
        if (view()->available()) {
                view()->fitCursor();
                view()->update();
-
+               view()->cursor().updatePos();
                // if we executed a mutating lfun, mark the buffer as dirty
                if (!getStatus(func).disabled()
                    && !lyxaction.funcHasFlag(func.action, LyXAction::NoBuffer)