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