]> git.lyx.org Git - features.git/commit
Fix crash when deleting inset with backspace
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 7 Apr 2024 17:23:12 +0000 (19:23 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 7 Apr 2024 17:34:49 +0000 (19:34 +0200)
commitb9e7754c932b014e019534f8e7aaf46797537e64
tree77c9aff0b667c4cdb9b4a00361b804c54140a5d0
parent9fd397ac1cb8c97d9b3058a669a045db0cceee1c
Fix crash when deleting inset with backspace

See description here:
https://marc.info/?l=lyx-devel&m=171243435229412&w=2

cutSelectionHelper did not request a metrics update when the selection
was inner to a paragraph. The new code is better, but it was not
necessary before the biginset branch because of a full metrics
computation that hid this missing case.

(cherry picked from commit 89901123c579c6c7dbd1aecd092d62c3a0a3db24)
src/CutAndPaste.cpp