mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Do not auto-insert separator for keepempty layouts
Candidate for stable
This commit is contained in:
parent
a67c541d6b
commit
59d73f52b8
@ -1255,6 +1255,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
pit_type prev = pit > 0 ? depthHook(pit, par.getDepth()) : pit;
|
||||
if (prev < pit && cur.pos() == par.beginOfBody()
|
||||
&& !par.size() && !par.isEnvSeparator(cur.pos())
|
||||
&& !par.layout().keepempty
|
||||
&& !par.layout().isCommand()
|
||||
&& pars_[prev].layout() != par.layout()
|
||||
&& pars_[prev].layout().isEnvironment()
|
||||
|
Loading…
Reference in New Issue
Block a user