]> git.lyx.org Git - features.git/commit
Simplify the test for inserting a parbreak separator.
authorEnrico Forestieri <forenr@lyx.org>
Thu, 22 May 2014 19:47:10 +0000 (21:47 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 22 May 2014 19:47:10 +0000 (21:47 +0200)
commit02e7bc18a7bb03a2799d98353adafe036e4fb340
treebadab69ad5dca32c1886b21227ddf0ed91534fd6
parent52ebcd6280078e591e463f9b54c6badefc1cf9e4
Simplify the test for inserting a parbreak separator.

Instead of simply taking into account the layout of the previous
paragraph, it is better considering the layout of the environment
in which the previous paragraph may be nested. This makes the test
simpler and, at the same time, more robust.
src/Text3.cpp