]> git.lyx.org Git - lyx.git/commit
Do not use Color_selectionmath when selection is gone
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 12 Oct 2023 09:28:44 +0000 (11:28 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 12 Oct 2023 09:30:47 +0000 (11:30 +0200)
commitff7696f184e1065048d81954ef2c9a9d27b4f026
tree0ef3ce0cd78ea83332e9fb011c0da64e6082997d
parent174dc2c8be3c0098e28bf5676819c7ca1c65d74f
Do not use Color_selectionmath when selection is gone

It might happen that the selection goes away without recomputing
metrics (for example with char-forward). The added test is a bit of a
band-aid for this situation. A better solution would be to understand
better when metrics computation is triggered in mathed.
src/mathed/MathRow.cpp