From 13dfdf70fcab8509605e34e1a24428c216ea71f3 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Mon, 17 Nov 2003 20:20:55 +0000 Subject: [PATCH] fix cursor positioning at the end of lyxfunc::dispatch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8099 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/lyxfunc.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index cc57be0972..302cd62c17 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-11-17 Alfredo Braunstein + + * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix + cursor position after e.g. inset insert) + 2003-11-16 Alfredo Braunstein * lyxfind.C (replace): adjust to locking removal + some diff --git a/src/lyxfunc.C b/src/lyxfunc.C index e78f61d765..6891eee207 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -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)