X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FUndo.h;h=d5748a97ea4b116e5ce33e4b6b26653780345afd;hb=612109bb6e5e61ba3c3693696f329eac3a288b5b;hp=5f6694104a6e72c1094fc53ffa8ff2d9bac7e448;hpb=a07d9f21929933c440453fdbee337653611faa5d;p=lyx.git diff --git a/src/Undo.h b/src/Undo.h index 5f6694104a..d5748a97ea 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -84,6 +84,9 @@ public: /// end the current undo group. void endUndoGroup(); + /// end the current undo group and set UndoElement::cur_after if necessary. + void endUndoGroup(DocIterator const &); + /// The general case: record undo information for an arbitrary range. /** * Record undo information - call with the current cursor and