mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix bug 4117.
http://bugzilla.lyx.org/show_bug.cgi?id=4117 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19644 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8ad113c30a
commit
8d8dbfd51c
@ -566,8 +566,16 @@ goto_char_backwards:
|
|||||||
// notify left insets and give them chance to set update flags
|
// notify left insets and give them chance to set update flags
|
||||||
lyx::notifyCursorLeaves(cur.beforeDispatchCursor(), cur);
|
lyx::notifyCursorLeaves(cur.beforeDispatchCursor(), cur);
|
||||||
cur.fixIfBroken();
|
cur.fixIfBroken();
|
||||||
} else
|
break;
|
||||||
cur.undispatched();
|
}
|
||||||
|
|
||||||
|
if (cur.fixIfBroken())
|
||||||
|
// FIXME: Something bad happened. We pass the corrected Cursor
|
||||||
|
// instead of letting things go worse.
|
||||||
|
break;
|
||||||
|
|
||||||
|
// We did not manage to move the cursor.
|
||||||
|
cur.undispatched();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user