X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FUndo.h;h=fb57e8897e5d51e9b41566f3e3bbfce4fb176a37;hb=04e6076ebb889a3215eaa4ff5cb200822611185c;hp=c89bb4a8113312c7f914ef8cd83c8c7721beae90;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/Undo.h b/src/Undo.h index c89bb4a811..fb57e8897e 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -67,6 +67,9 @@ public: /// bool hasRedoStack() const; + /// Mark all the elements of the undo and redo stacks as dirty + void markDirty(); + /// open a new group of undo operations. /** * Groups can be nested. Such a nested group e.g. { {} {} } is undone in