aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-04-16 12:47:39 +1000
committerNeil <nyamatongwe@gmail.com>2014-04-16 12:47:39 +1000
commit8ea924d6a27560f9ec6468fc0f3cacf0cff67765 (patch)
treec1fba31a7c55721121339459aaef02f688536cc9 /include/Scintilla.iface
parent66aecf5f898d5303564889689d37aaadb1bce5b1 (diff)
downloadscintilla-mirror-8ea924d6a27560f9ec6468fc0f3cacf0cff67765.tar.gz
Allow filtering of insertions.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 02cb97193..e5167902c 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -98,6 +98,9 @@ fun void AddStyledText=2002(int length, cells c)
# Insert string at a position.
fun void InsertText=2003(position pos, string text)
+# Change the text that is being inserted in response to SC_MOD_INSERTCHECK
+fun void ChangeInsertion=2672(int length, string text)
+
# Delete all text in the document.
fun void ClearAll=2004(,)
@@ -2494,7 +2497,8 @@ val SC_MOD_CHANGEMARGIN=0x10000
val SC_MOD_CHANGEANNOTATION=0x20000
val SC_MOD_CONTAINER=0x40000
val SC_MOD_LEXERSTATE=0x80000
-val SC_MODEVENTMASKALL=0xFFFFF
+val SC_MOD_INSERTCHECK=0x100000
+val SC_MODEVENTMASKALL=0x1FFFFF
enu Update=SC_UPDATE_
val SC_UPDATE_CONTENT=0x1