From 3b4321e0bd6090f1e83bf13111d6f6158e49d667 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 20 Jan 2004 12:09:08 +0000 Subject: Method to preallocate document space. --- 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 5cfcbfe1f..726ec015f 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -184,6 +184,7 @@ public: int ByteLength(); int Length(); + void Allocate(int newSize); int Lines(); int LineStart(int line); int LineFromPosition(int pos) { return lv.LineFromPosition(pos); } @@ -212,7 +213,7 @@ public: int GetMark(int line); void DeleteAllMarks(int markerNum); int LineFromHandle(int markerHandle); - + /// Actions without undo void BasicInsertString(int position, char *s, int insertLength); void BasicDeleteChars(int position, int deleteLength); -- cgit v1.2.3