diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-12-31 20:19:24 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-12-31 20:19:24 +1100 |
| commit | 8c9b09dd5f861e52590a154b2ad8ee0f0dc4e89f (patch) | |
| tree | dfaf6cc1b26e02b857c4ef971231f5957ed02f8c /include | |
| parent | 45d4e27aed4e2301a2dd00d8ee59174ff2a2f0db (diff) | |
| download | scintilla-mirror-8c9b09dd5f861e52590a154b2ad8ee0f0dc4e89f.tar.gz | |
Backport: Implement SCI_SETILEXER.
Backport of changeset 7871:ff54e1fc74f3, but with the ability to distinguish
between ILexer and ILexer5 interfaces.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 1 | ||||
| -rw-r--r-- | include/Scintilla.iface | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index cea4983e3..c2d289bab 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -1041,6 +1041,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_NAMEOFSTYLE 4030 #define SCI_TAGSOFSTYLE 4031 #define SCI_DESCRIPTIONOFSTYLE 4032 +#define SCI_SETILEXER 4033 #define SC_MOD_NONE 0x0 #define SC_MOD_INSERTTEXT 0x1 #define SC_MOD_DELETETEXT 0x2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 05a0ed2ce..a3354de40 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2963,6 +2963,9 @@ fun int TagsOfStyle=4031(int style, stringresult tags) # Result is NUL-terminated. fun int DescriptionOfStyle=4032(int style, stringresult description) +# Set the lexer from an ILexer*. +set void SetILexer=4033(, pointer ilexer) + # Notifications # Type of modification and the action which caused the modification. # These are defined as a bit mask to make it easy to specify which notifications are wanted. |
