From 3b7ec6b9b2dd4fad876385c4a21d73318c7f5142 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 3 Jul 2013 17:28:32 +1000 Subject: Make CellBuffer::DeleteChars return a pointer to the deleted data even when deleting all of the buffer. --- src/CellBuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CellBuffer.h') 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(); -- cgit v1.2.3