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/Editor.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index f9d20aa47..a11f99688 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5788,6 +5788,10 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETLENGTH: return pdoc->Length(); + case SCI_ALLOCATE: + pdoc->Allocate(wParam); + break; + case SCI_GETCHARAT: return pdoc->CharAt(wParam); -- cgit v1.2.3