mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix environment-split previous problem spotted by Joel
Special case: append from the separator paragraph.
This commit is contained in:
parent
d188a36fc2
commit
27901b3a06
@ -1537,6 +1537,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
cur.top().setPitPos(cur.pit(), 0);
|
||||
if (before || cur.pos() > 0)
|
||||
lyx::dispatch(FuncRequest(LFUN_PARAGRAPH_BREAK));
|
||||
else if (previous && cur.nextInset() && cur.nextInset()->lyxCode() == SEPARATOR_CODE)
|
||||
lyx::dispatch(FuncRequest(LFUN_PARAGRAPH_BREAK, "inverse ignoresep"));
|
||||
if (outer) {
|
||||
while (cur.paragraph().params().depth() > split_depth)
|
||||
lyx::dispatch(FuncRequest(LFUN_DEPTH_DECREMENT));
|
||||
|
Loading…
Reference in New Issue
Block a user