]> git.lyx.org Git - features.git/commit
Fix crash with undo in nested insets introduced by commit 6ec1683
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 20 Aug 2012 15:20:59 +0000 (17:20 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 20 Aug 2012 15:20:59 +0000 (17:20 +0200)
commit6a936d63d3be55a9a553b252e51f773749777e44
tree0806ae1de0e443482449ff397dc3d6108dd0be72
parent2b98e7a28800a1542deb9ffa03a58d2065000daf
Fix crash with undo in nested insets introduced by commit 6ec1683

The code in DocIterator::sanitize now follows more closely the
previous StableDocIterator::asDocIterator code. In particular, it adds
the slices one by one, since fixIfBroken will chop the cursor
otherwise.
src/DocIterator.cpp