aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-10-11 09:29:05 +1100
committerNeil <nyamatongwe@gmail.com>2018-10-11 09:29:05 +1100
commitc5dedff99f306588a7217d40a4281db7d1baffaa (patch)
treec1d9cda99aa3920b0a0dacdddec296ec893854c7 /include/Scintilla.h
parent7cb8abba8c1b026f3b9450f3e163e09357b49906 (diff)
downloadscintilla-mirror-c5dedff99f306588a7217d40a4281db7d1baffaa.tar.gz
Add SCI_SETCOMMANDEVENTS API to allow turning off command events.
This can reduce the time taken to fold a document by half.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index ccbeef99e..ea8654ce8 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -697,6 +697,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_RELEASEDOCUMENT 2377
#define SCI_GETDOCUMENTOPTIONS 2379
#define SCI_GETMODEVENTMASK 2378
+#define SCI_SETCOMMANDEVENTS 2717
+#define SCI_GETCOMMANDEVENTS 2718
#define SCI_SETFOCUS 2380
#define SCI_GETFOCUS 2381
#define SC_STATUS_OK 0