diff options
author | nyamatongwe <unknown> | 2006-10-17 00:32:34 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2006-10-17 00:32:34 +0000 |
commit | 672b30f73d556b09af3dc4d3afdc5ad24b841a44 (patch) | |
tree | 8df7c305d4f7536b2fe3bb1756449ceb11a4efe4 /src/CellBuffer.h | |
parent | 924270507fe35db90f99a88eb13242e1c5799bbc (diff) | |
download | scintilla-mirror-672b30f73d556b09af3dc4d3afdc5ad24b841a44.tar.gz |
Armel Asselin contributed a feature that adds the flag SC_STARTACTION to
modification notifications where the modification is the first step of an
undo transaction. This is used to synchronize with the container's undo
stack.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h index bb81fd572..92bbfa0da 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -119,7 +119,7 @@ public: UndoHistory(); ~UndoHistory(); - void AppendAction(actionType at, int position, char *data, int length); + void AppendAction(actionType at, int position, char *data, int length, bool &startSequence); void BeginUndoAction(); void EndUndoAction(); @@ -190,14 +190,14 @@ public: int Lines(); int LineStart(int line); int LineFromPosition(int pos) { return lv.LineFromPosition(pos); } - const char *InsertString(int position, char *s, int insertLength); + const char *InsertString(int position, char *s, int insertLength, bool &startSequence); /// Setting styles for positions outside the range of the buffer is safe and has no effect. /// @return true if the style of a character is changed. bool SetStyleAt(int position, char style, char mask='\377'); bool SetStyleFor(int position, int length, char style, char mask); - const char *DeleteChars(int position, int deleteLength); + const char *DeleteChars(int position, int deleteLength, bool &startSequence); bool IsReadOnly(); void SetReadOnly(bool set); |