aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
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 /include
parent3e1668f499d347b5f091d22789dba243cc98f860 (diff)
downloadscintilla-mirror-ea2e7c10cc227cee9f939d38116c1cd3608d7a1b.tar.gz
Method to preallocate document space.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface3
2 files changed, 4 insertions, 0 deletions
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(,)