diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-03-29 09:05:14 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-03-29 09:05:14 +1100 |
| commit | 6d1bf18357b56cbec7d289c9c9434a7a8888b386 (patch) | |
| tree | e03227ff253d79d62c42b331c2b66d32b81dc9c0 /include | |
| parent | 62b31d42a2ee02b4992134d325fab6f297729094 (diff) | |
| download | scintilla-mirror-6d1bf18357b56cbec7d289c9c9434a7a8888b386.tar.gz | |
Feature [feature-requests:#1259]. Add SCI_SETCHARACTERCATEGORYOPTIMIZATION API
to optimize speed of character category features.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 2 | ||||
| -rw-r--r-- | include/Scintilla.iface | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index dc0a73b7e..c8ef2fa37 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -266,6 +266,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETCARETPERIOD 2076 #define SCI_SETWORDCHARS 2077 #define SCI_GETWORDCHARS 2646 +#define SCI_SETCHARACTERCATEGORYOPTIMIZATION 2720 +#define SCI_GETCHARACTERCATEGORYOPTIMIZATION 2721 #define SCI_BEGINUNDOACTION 2078 #define SCI_ENDUNDOACTION 2079 #define INDIC_PLAIN 0 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index aed70e7f3..cf2d01abc 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -610,6 +610,12 @@ set void SetWordChars=2077(, string characters) # Returns the number of characters get int GetWordChars=2646(, stringresult characters) +# Set the number of characters to have directly indexed categories +set void SetCharacterCategoryOptimization=2720(int countCharacters,) + +# Get the number of characters to have directly indexed categories +get int GetCharacterCategoryOptimization=2721(,) + # Start a sequence of actions that is undone and redone as a unit. # May be nested. fun void BeginUndoAction=2078(,) |
