]> git.lyx.org Git - features.git/commit
Fix another glitch with on-screen indentation.
authorEnrico Forestieri <forenr@lyx.org>
Sat, 24 May 2014 00:12:56 +0000 (02:12 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 24 May 2014 00:12:56 +0000 (02:12 +0200)
commitf40adfd4862ccb6e4de3181780a6cc321a57f36d
treeb05fe6687ce56ac5be68b78c13c39745cbdfd9fb
parent5579d3734a3b7f3c6b7332c6989701a8a224bbf1
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.

A proper status line covering this change is already present.
src/TextMetrics.cpp