]> git.lyx.org Git - features.git/commit
Fix indentation of paragraphs after an environment.
authorEnrico Forestieri <forenr@lyx.org>
Tue, 27 May 2014 23:07:47 +0000 (01:07 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 27 May 2014 23:07:47 +0000 (01:07 +0200)
commitc85dbfea98787d46d59f900d30c7e3092cc5e750
treecf6593c7f968fa64dd53fd4a88c1744aea7dae79
parent4cea2efe21c528917de779d9df3093613ad3dc82
Fix indentation of paragraphs after an environment.

When deciding whether a paragraph should be indented or not, LyX
only takes into account default layouts. This is wrong, because
an environment could be nested into another one and thus a following
paragraph would not be "default". With this patch all paragraphs
after an environment are correctly indented, independently of
whether their layouts are "default" or not.
The latex output (which was modeled following the previous wrong
assumption) is also correspondingly adapted.
src/TextMetrics.cpp
src/output_latex.cpp