aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h5
-rw-r--r--include/Scintilla.iface7
2 files changed, 8 insertions, 4 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 8e52ba59e..d1cb759f7 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -349,8 +349,9 @@ extern "C" {
#define SCI_SETZOOM SCI_START + 373
#define SCI_GETZOOM SCI_START + 374
-#define SCI_ADDREFDOC SCI_START + 375
-#define SCI_RELEASEDOC SCI_START + 376
+#define SCI_CREATEDOCUMENT SCI_START + 375
+#define SCI_ADDREFDOCUMENT SCI_START + 376
+#define SCI_RELEASEDOCUMENT SCI_START + 377
// GTK+ Specific
#define SCI_GRABFOCUS SCI_START + 400
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 5187070c5..acbad39df 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -704,10 +704,13 @@ set void SetZoom=2373(int zoom,)
# Retrieve the zoom level.
get int GetZoom=2374(,)
+# Create a new document object.
+# Starts with reference count of 1 and not selected into editor.
+fun int CreateDocument=2375(,)
# Extend life of document.
-fun void AddRefDoc=2375(, int doc)
+fun void AddRefDocument=2376(, int doc)
# Release a reference to the document, deleting document if it fades to black.
-fun void ReleaseDoc=2376(, int doc)
+fun void ReleaseDocument=2377(, int doc)
# Set the focus to this Scintilla widget.
fun void GrabFocus=2400(,)