]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.h
Skip paint event when in the middle of a buffer operation
[lyx.git] / src / Undo.h
index b1908a25b322d798980faca3a803c001cf56f8cd..6f6cca6e90e968ee46c87d591a27fe97f82fd0a4 100644 (file)
@@ -96,6 +96,8 @@ public:
        void endUndoGroup();
        /// end the current undo group and set UndoElement::cur_after if necessary.
        void endUndoGroup(CursorData const & cur_after);
+       /// return true if an undo group is open and contains at least one element
+       bool activeUndoGroup() const;
 
        /// The general case: record undo information for an arbitrary range.
        /**