diff options
author | nyamatongwe <devnull@localhost> | 2009-04-04 23:00:39 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-04-04 23:00:39 +0000 |
commit | e3b352deb09502f232708e3fea839893d166c10b (patch) | |
tree | 333fb21b39eee1201632805511bdc539ea23f9dc /src/CellBuffer.h | |
parent | f51b1e5080edb6fbc2add4dfdec9b0d397aa1f2a (diff) | |
download | scintilla-mirror-e3b352deb09502f232708e3fea839893d166c10b.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 |