aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-07-03 17:28:32 +1000
committerNeil <nyamatongwe@gmail.com>2013-07-03 17:28:32 +1000
commit3b7ec6b9b2dd4fad876385c4a21d73318c7f5142 (patch)
tree8b02ab88f561ccc838d4bd3d0b436841e2b885c2 /src/CellBuffer.h
parent9ed48352d36acfc5907071bc4ef683007b1a36c6 (diff)
downloadscintilla-mirror-3b7ec6b9b2dd4fad876385c4a21d73318c7f5142.tar.gz
Make CellBuffer::DeleteChars return a pointer to the deleted data even
when deleting all of the buffer.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 45613bfa0..82179ac9a 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -105,7 +105,7 @@ public:
UndoHistory();
~UndoHistory();
- void AppendAction(actionType at, int position, const char *data, int length, bool &startSequence, bool mayCoalesce=true);
+ const char *AppendAction(actionType at, int position, const char *data, int length, bool &startSequence, bool mayCoalesce=true);
void BeginUndoAction();
void EndUndoAction();