]> git.lyx.org Git - features.git/commit
Fix another glitch with on-screen indentation.
authorEnrico Forestieri <forenr@lyx.org>
Thu, 22 May 2014 21:47:38 +0000 (23:47 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 22 May 2014 21:58:23 +0000 (23:58 +0200)
commita596736d76c318f94c36135756b1d1376c042539
tree57e08feb4c5e975d13c1a4c2fa9c805ba15f8be8
parent85db1005b621aa7895c230e07bcf92e8ca041e7b
Fix another glitch with on-screen indentation.

If a new paragraph is created just before a nested environment,
the indentation of the nested environment is not computed
correctly because the parindent of the previous layout would
also be erroneously taken into account. This would cause the
nested environment to move back and forth when something is
added to the new paragraph.
src/TextMetrics.cpp