diff options
author | nyamatongwe <unknown> | 2004-01-20 12:09:08 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-01-20 12:09:08 +0000 |
commit | ea2e7c10cc227cee9f939d38116c1cd3608d7a1b (patch) | |
tree | b4ae7513d811353fb24759e4674935b05979a2af /src/Editor.cxx | |
parent | 3e1668f499d347b5f091d22789dba243cc98f860 (diff) | |
download | scintilla-mirror-ea2e7c10cc227cee9f939d38116c1cd3608d7a1b.tar.gz |
Method to preallocate document space.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); |