mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Make sure the cursor is in texted
This commit is contained in:
parent
6169e26ee6
commit
9edbeef7b7
@ -1947,7 +1947,7 @@ 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))
|
||||
if (inTexted() && pos() && paragraph().isEnvSeparator(pos() - 1))
|
||||
posBackward();
|
||||
} else {
|
||||
// if there is a selection, we stay out of any inset,
|
||||
|
Loading…
Reference in New Issue
Block a user