From 083b30ff1783f7b6c803d2c5489ddcd5d0dce14f Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 11 Oct 2018 09:29:05 +1100 Subject: Backport: Add SCI_SETCOMMANDEVENTS API to allow turning off command events. This can reduce the time taken to fold a document by half. Backport of changeset 7110:09c647755bed. --- src/Editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index e9a0bbf8f..428211a58 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -229,6 +229,7 @@ protected: // ScintillaBase subclass needs access to much of Editor bool needIdleStyling; int modEventMask; + bool commandEvents; SelectionText drag; -- cgit v1.2.3