mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 13:40:19 +00:00
Use real cursor pit, not the modified one.
This commit is contained in:
parent
9f9c2e022f
commit
167c38377c
@ -1533,7 +1533,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
if (cpar.params().depth() == 0)
|
if (cpar.params().depth() == 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (outer && pit < cur.lastpit()) {
|
if (outer && cur.pit() < cur.lastpit()) {
|
||||||
// save nesting of following paragraph
|
// save nesting of following paragraph
|
||||||
cpar = pars_[cur.pit() + 1];
|
cpar = pars_[cur.pit() + 1];
|
||||||
nextpar_depth = cpar.params().depth();
|
nextpar_depth = cpar.params().depth();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user