mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
DEPM: do not fix cursor pit if it was in a different cell
This bug has been here forever. Fixes bug #12117.
This commit is contained in:
parent
d2f23c303c
commit
939d25561d
@ -916,6 +916,7 @@ bool Text::deleteEmptyParagraphMechanism(Cursor & cur,
|
||||
if (cur.depth() >= old.depth()) {
|
||||
CursorSlice & curslice = cur[old.depth() - 1];
|
||||
if (&curslice.inset() == &old.inset()
|
||||
&& curslice.idx() == old.idx()
|
||||
&& curslice.pit() > old.pit()) {
|
||||
--curslice.pit();
|
||||
// since a paragraph has been deleted, all the
|
||||
|
Loading…
Reference in New Issue
Block a user