]> git.lyx.org Git - features.git/commit
Remember the cursor before an undo group
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 16 Jul 2015 12:13:13 +0000 (14:13 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 21 Jul 2015 09:57:50 +0000 (11:57 +0200)
commit8ec408053721fdbae9107880e6b17fcca35dbce9
treeccef5cb9f5eb3e4331dc2e7377b6ad329b638eb2
parent2b760212e2ea1c271d83962c52de71ca04469325
Remember the cursor before an undo group

With this patch, the cursor position before undo can be saved when
creating an undo group. Any such value will supercede parameters
passed to recordUndo. Only the first such cursor set by nested
beginUndoGoup takes effect.

Fixes bug #9663.
src/Cursor.cpp
src/Undo.cpp
src/Undo.h