]> git.lyx.org Git - features.git/commit
Fix issue with change-tracked deleted display math
authorEnrico Forestieri <forenr@lyx.org>
Sun, 22 Oct 2017 11:12:33 +0000 (13:12 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 22 Oct 2017 11:12:33 +0000 (13:12 +0200)
commit7f23ca912c5e92bf30bdc05b6d801082f6643e8e
treed4cd54acabac16cd4e5018429268265f824433c8
parente5d4ba852931a94099d97fe4721d3228d0fc4d26
Fix issue with change-tracked deleted display math

- If a display math not starting a new paragraph is deleted, the
  current \lyxdeleted macro (if any) must be closed and a new one
  started, otherwise the display math will be shifted up.

- Use \linewidth instead of \columnwidth because the former will adapt
  to the reduced horizontal width in list environments, avoiding shifting
  to the right the diplay math.
src/Changes.cpp
src/Paragraph.cpp
src/mathed/InsetMathHull.cpp