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
This commit is contained in:
Alfredo Braunstein 2003-11-17 20:20:55 +00:00
parent 15cbc4f6e8
commit 13dfdf70fc
2 changed files with 6 additions and 1 deletions

View 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

View 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)