From e3b352deb09502f232708e3fea839893d166c10b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 4 Apr 2009 23:00:39 +0000 Subject: Added AddUndoAction call for adding application actions into undo stack. --- src/CellBuffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/CellBuffer.h') 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 -- cgit v1.2.3