]> git.lyx.org Git - features.git/commit
Erase correctly math multi-cell selection
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 16 Oct 2014 14:16:15 +0000 (16:16 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 16 Oct 2014 14:16:15 +0000 (16:16 +0200)
commitf58d9f27a239db757efbab54524bd5a6bb6a1532
tree4eb84e7ae275074d8a0633bf1cbd2d8b3c435d53
parentac018bd8db4e81c92320fe026cceff4e9f2181d2
Erase correctly math multi-cell selection

What a selection spans several cells in mathed, and a deletion occurs though LFUN_CHAR_DELETE_FORWARD for example, only the case of a proper grid was handled. When no such grid exists, all cells between the first and the last index are cleared now.
src/CutAndPaste.cpp