]> git.lyx.org Git - features.git/commit
Rewrite selection code in mathed
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Feb 2017 09:43:48 +0000 (10:43 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Feb 2017 10:00:30 +0000 (11:00 +0100)
commitd2ad9ae6e2db76c1cbb92f0f069aa0f2fdcbcc31
treea26e99c1c005643df9350639fc020ec843220039
parent05b90abaf7a4c2343824e8fae1b4a721b8e4a2e1
Rewrite selection code in mathed

Now the selection is not done by the inset, but by the MathData
itself. This allows for some code simplification and avoids an
extra redraw.

Additionally, this fixes the selection inside macros, which was broken
by the new MathRow code.
src/mathed/InsetMathNest.cpp
src/mathed/InsetMathNest.h
src/mathed/MathData.cpp
src/mathed/MathData.h
src/mathed/MathMacro.cpp
src/mathed/MathMacro.h
src/mathed/MathRow.cpp