aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-01-20 12:09:08 +0000
committernyamatongwe <devnull@localhost>2004-01-20 12:09:08 +0000
commit3b4321e0bd6090f1e83bf13111d6f6158e49d667 (patch)
treeb4ae7513d811353fb24759e4674935b05979a2af /src/CellBuffer.h
parentf5c3d93ebb9148ff12ea7acbe27f17079a5f62d8 (diff)
downloadscintilla-mirror-3b4321e0bd6090f1e83bf13111d6f6158e49d667.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);