]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.h
tex2lyx/text.cpp: code simplification
[lyx.git] / src / Undo.h
index f91b02fe8fd7c0d13970bc4c6c9658b762265101..5f6694104a6e72c1094fc53ffa8ff2d9bac7e448 100644 (file)
@@ -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 &);