]> git.lyx.org Git - features.git/commit
Place the cursor correctly after undoing an inset dissolution
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 20 May 2015 10:09:12 +0000 (12:09 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 20 May 2015 10:14:34 +0000 (12:14 +0200)
commit32148586a85518d9c368e807a32a9be54146136f
treecba59d6040e2cb716217ff9e26951cd430151fbc
parenta911b1cc658e5e8de90b1fa267f7c7385a95f4c0
Place the cursor correctly after undoing an inset dissolution

The cleanup in 11ca1406 was not correct. It is actually not possible to implement recordUndoInset from the undo API, since the cursor may not be at a different level than the text to be saved.

Fixes ticket #9553
src/Cursor.cpp
src/Undo.cpp
src/Undo.h