From b6249fbd78a4baf646d21d539b7980b9c19dd2b5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 21 Jan 2004 09:08:35 +0000 Subject: Implementation of Allocate. --- doc/ScintillaDoc.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index eba597118..02aae7c9b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -292,6 +292,7 @@ SCI_GETREADONLY
SCI_GETTEXTRANGE(<unused>, TextRange *tr)
+ SCI_ALLOCATE(int bytes, <unused>)
SCI_ADDTEXT(int length, char *s)
SCI_ADDSTYLEDTEXT(int length, cell *s)
SCI_APPENDTEXT(int length, const char *s)
@@ -396,6 +397,10 @@ href="#SCI_GETTEXTRANGE">SCI_GETTEXTRANGE, SCI_GETTEXT

+

SCI_ALLOCATE(int bytes, <unused>)
+ Allocate a document buffer large enough to store a given number of bytes. + The document will not be made smaller than its current contents.

+

SCI_ADDTEXT(int length, const char *s)
This inserts the first length characters from the string s at the current position. This will include any 0's in the string that you might have expected -- cgit v1.2.3