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. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 68c5427b6..d39e3b7ed 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -570,6 +570,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETWHITESPACECHARS 2443 #define SCI_SETCHARSDEFAULT 2444 #define SCI_AUTOCGETCURRENT 2445 +#define SCI_ALLOCATE 2446 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 5ee7afd5f..d84ab688e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1549,6 +1549,9 @@ fun void SetCharsDefault=2444(,) # Get currently selected item position in the auto-completion list fun int AutoCGetCurrent=2445(,) +# Enlarge the document to a particular size of text bytes. +fun void Allocate=2446(int bytes,) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) -- cgit v1.2.3