aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2004-01-20 12:09:08 +0000
committernyamatongwe <unknown>2004-01-20 12:09:08 +0000
commitea2e7c10cc227cee9f939d38116c1cd3608d7a1b (patch)
treeb4ae7513d811353fb24759e4674935b05979a2af /src/CellBuffer.h
parent3e1668f499d347b5f091d22789dba243cc98f860 (diff)
downloadscintilla-mirror-ea2e7c10cc227cee9f939d38116c1cd3608d7a1b.tar.gz
Method to preallocate document space.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h3
1 files changed, 2 insertions, 1 deletions
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);