]> git.lyx.org Git - lyx.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>
Wed, 25 Oct 2017 17:51:14 +0000 (19:51 +0200)
commit8be0ec0db5731b2089462ac81abb67c108cd7840
treec07b6fbaf5e7c1055aa3f6c6d9592768ae75673d
parent3d30a01bd78f8d579389f99ef0566653363a37aa
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.

(cherry picked from commit 7f23ca912c5e92bf30bdc05b6d801082f6643e8e)
src/Changes.cpp
src/Paragraph.cpp
src/mathed/InsetMathHull.cpp