aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-04-19 09:38:40 +0000
committernyamatongwe <devnull@localhost>2009-04-19 09:38:40 +0000
commita2dd18ee2dd2d4279b02569172e0c111b9b96c9a (patch)
tree4dab662fa7dea25f6329508715bbde47f4f1bd31 /src/CellBuffer.h
parent11b81e9bcf0fcb2113d4994ca77ede2155283bfb (diff)
downloadscintilla-mirror-a2dd18ee2dd2d4279b02569172e0c111b9b96c9a.tar.gz
Added UNDO_MAY_COALESCE flag to AddUndoAction.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 395f75f0e..5af135736 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -101,7 +101,7 @@ public:
UndoHistory();
~UndoHistory();
- void AppendAction(actionType at, int position, char *data, int length, bool &startSequence);
+ void AppendAction(actionType at, int position, char *data, int length, bool &startSequence, bool mayCoalesce=true);
void BeginUndoAction();
void EndUndoAction();
@@ -185,7 +185,7 @@ public:
bool IsCollectingUndo();
void BeginUndoAction();
void EndUndoAction();
- void AddUndoAction(int token);
+ void AddUndoAction(int token, bool mayCoalesce);
void DeleteUndoHistory();
/// To perform an undo, StartUndo is called to retrieve the number of steps, then UndoStep is