]> git.lyx.org Git - lyx.git/commit
Use Color_selectiontext as needed for partial selection in math
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 Oct 2023 09:38:40 +0000 (11:38 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 Oct 2023 10:51:11 +0000 (12:51 +0200)
commit65cb9fa4df563becbb69e4e95715dd121b64aca3
tree4d8c1a0e698ed5ff058891ea00b8266e2737dacb
parent73e588bd44acdfd34332ff615c688521ddacecb6
Use Color_selectiontext as needed for partial selection in math

Currently, selected math hull insets use Color_selectiontext when
system colors are in use. This commit implements the same behavior
for partial selection.

This is done by introducing two element types (BEGIN_SEL and END_SEL)
to MathRow.
src/mathed/MathData.cpp
src/mathed/MathRow.cpp
src/mathed/MathRow.h