mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Always place the cursor before a separator inset when moving up or down.
This commit is contained in:
parent
c8aaaff15a
commit
bbb5a1a28f
@ -1947,6 +1947,8 @@ bool Cursor::upDownInText(bool up, bool & updateNeeded)
|
||||
// Make sure that cur gets back whatever happened to dummy (Lgb)
|
||||
operator=(dummy);
|
||||
}
|
||||
if (pos() && paragraph().isEnvSeparator(pos() - 1))
|
||||
posBackward();
|
||||
} else {
|
||||
// if there is a selection, we stay out of any inset,
|
||||
// and just jump to the right position:
|
||||
|
Loading…
Reference in New Issue
Block a user