summaryrefslogtreecommitdiffstats
path: root/svl/inc/svl/undo.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/inc/svl/undo.hxx')
-rw-r--r--svl/inc/svl/undo.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/svl/inc/svl/undo.hxx b/svl/inc/svl/undo.hxx
index 57a26c3109ec..6cebbbb4bbb2 100644
--- a/svl/inc/svl/undo.hxx
+++ b/svl/inc/svl/undo.hxx
@@ -311,9 +311,14 @@ namespace svl
/** clears the redo stack and removes the top undo action */
virtual void RemoveLastUndoAction() = 0;
- // enables (true) or disables (false) recording of undo actions
- // If undo actions are added while undo is disabled, they are deleted.
- // Disabling undo does not clear the current undo buffer!
+ /** enables (true) or disables (false) recording of undo actions
+
+ If undo actions are added while undo is disabled, they are deleted.
+ Disabling undo does not clear the current undo buffer!
+
+ Multiple calls to <code>EnableUndo</code> are not cumulative. That is, calling <code>EnableUndo( false )</code>
+ twice, and then calling <code>EnableUndo( true )</code> means that Undo is enable afterwards.
+ */
virtual void EnableUndo( bool bEnable ) = 0;
// returns true if undo is currently enabled