From 0af155eae811e515b7d4fbad8e198cdf01f6ff2f Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 31 Dec 2019 20:19:24 +1100 Subject: Implement SCI_SETILEXER. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index b5fc17eb6..b9a013655 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -1037,6 +1037,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 dde113847..fecd1b45f 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2931,6 +2931,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. -- cgit v1.2.3