]> git.lyx.org Git - features.git/commit
Some code factoring for changing mode.
authorGuillaume Munch <gm@lyx.org>
Mon, 12 Dec 2016 00:17:41 +0000 (01:17 +0100)
committerGuillaume Munch <gm@lyx.org>
Tue, 3 Jan 2017 19:18:48 +0000 (20:18 +0100)
commite35fda62a7f69e3278a2df5cfa4ec9fa103c5c65
tree575cb67744513a2d1043f7f759c2c1353f390196
parent2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de
Some code factoring for changing mode.

About removing the changeEnsureMath in MathMacro::{metrics,draw} : as it is only
called in edition mode, it only happened for user macros for which no ensureMath
is needed anyway. ChangeEnsureMath should indeed be applied for global macros,
but since they are linearized there is no obvious place to call it.
src/MetricsInfo.cpp
src/MetricsInfo.h
src/mathed/InsetMathDecoration.cpp
src/mathed/MathMacro.cpp