X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FUndo.h;h=5f6694104a6e72c1094fc53ffa8ff2d9bac7e448;hb=a07d9f21929933c440453fdbee337653611faa5d;hp=f91b02fe8fd7c0d13970bc4c6c9658b762265101;hpb=23609ed7fb9cb19f083adfb94943a4a77a689eb2;p=features.git diff --git a/src/Undo.h b/src/Undo.h index f91b02fe8f..5f6694104a 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -53,6 +53,9 @@ public: ~Undo(); + /// Clear out all undo/redo contents. + void clear(); + /// this will undo the last action - returns false if no undo possible bool textUndo(DocIterator &);