mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Take into account that a blank line is always output before a command.
This commit is contained in:
parent
4d30b613ba
commit
a919cd8c68
@ -1076,6 +1076,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
&& ((prevpar.getDepth() > par.getDepth()
|
||||
&& !par.layout().isEnvironment())
|
||||
|| (prevpar.layout() != par.layout()
|
||||
&& !par.layout().isCommand()
|
||||
&& prevpar.layout().isEnvironment()))) {
|
||||
if (par.layout().isEnvironment()) {
|
||||
docstring const layout = par.layout().name();
|
||||
|
Loading…
Reference in New Issue
Block a user