]> git.lyx.org Git - features.git/commit
Assure correct spacing of colored items in mathed
authorEnrico Forestieri <forenr@lyx.org>
Sun, 2 Aug 2020 16:58:40 +0000 (18:58 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 2 Aug 2020 16:58:40 +0000 (18:58 +0200)
commit7441172d4d9a26eb4824bb8bee003f457ef34f1c
tree11f069c6941559fb4eda38a44a3deb79460c5d96
parentaba8c81290a3c1f8faee7d9f6dbd214440dc523d
Assure correct spacing of colored items in mathed

When coloring a non-ordinary math atom, explicitly apply its
math class, so that to leave unchanged the spacing around it.
Fixes #11827.
src/mathed/InsetMath.h
src/mathed/InsetMathClass.h
src/mathed/InsetMathColor.cpp
src/mathed/InsetMathNest.cpp
src/mathed/MathStream.cpp
src/mathed/MathStream.h