]> git.lyx.org Git - features.git/commit
Fix indentation of paragraphs after an environment.
authorEnrico Forestieri <forenr@lyx.org>
Wed, 28 May 2014 20:16:40 +0000 (22:16 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 28 May 2014 20:16:40 +0000 (22:16 +0200)
commita640f4244e7b93a9436108b5cf07ea7125b540ea
tree92d22a10b9ee0d1ed2893a270ec89668513f3dc5
parentf40adfd4862ccb6e4de3181780a6cc321a57f36d
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.

No status line needed as this is the completion of previous patches.
src/TextMetrics.cpp
src/output_latex.cpp