aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-04-04 23:00:39 +0000
committernyamatongwe <devnull@localhost>2009-04-04 23:00:39 +0000
commite3b352deb09502f232708e3fea839893d166c10b (patch)
tree333fb21b39eee1201632805511bdc539ea23f9dc /src/CellBuffer.h
parentf51b1e5080edb6fbc2add4dfdec9b0d397aa1f2a (diff)
downloadscintilla-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.h3
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