diff options
author | nyamatongwe <unknown> | 2009-04-04 23:00:39 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-04-04 23:00:39 +0000 |
commit | 89db940cd0d6f3a2da913bc0098c777c5c7c50ee (patch) | |
tree | 333fb21b39eee1201632805511bdc539ea23f9dc /src/CellBuffer.h | |
parent | 977371ca0595af895bf255b135292e12f80eff01 (diff) | |
download | scintilla-mirror-89db940cd0d6f3a2da913bc0098c777c5c7c50ee.tar.gz |
Added AddUndoAction call for adding application actions into undo stack.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 4b83f48e0..6cf8ad056 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -83,7 +83,7 @@ public: int LineFromHandle(int markerHandle); }; -enum actionType { insertAction, removeAction, startAction }; +enum actionType { insertAction, removeAction, startAction, containerAction }; /** * Actions are used to store all the information required to perform one undo/redo step. @@ -213,6 +213,7 @@ public: bool IsCollectingUndo(); void BeginUndoAction(); void EndUndoAction(); + void AddUndoAction(int token); void DeleteUndoHistory(); /// To perform an undo, StartUndo is called to retrieve the number of steps, then UndoStep is |