From e57e6904030c8df384b5f4b33b892ffa5dad4fe6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 13 Jul 2010 21:30:08 +1000 Subject: New interface features for new lexer infrastructure. --- include/Scintilla.iface | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index f40530fda..a32799b5b 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2089,6 +2089,10 @@ fun void RotateSelection=2606(,) # Swap that caret and anchor of the main selection. fun void SwapMainAnchorCaret=2607(,) +# Indicate that the internal state of a lexer has changed over a range and therefore +# there may be a need to redraw. +fun int ChangeLexerState=2617(position start, position end) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) @@ -2137,6 +2141,9 @@ get int GetStyleBitsNeeded=4011(,) # Return the length of the text. get int GetLexerLanguage=4012(, stringresult text) +# For private communication between an application and a known lexer. +fun int PrivateLexerCall=4013(int operation, int pointer) + # 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. @@ -2161,7 +2168,8 @@ val SC_MOD_CHANGELINESTATE=0x8000 val SC_MOD_CHANGEMARGIN=0x10000 val SC_MOD_CHANGEANNOTATION=0x20000 val SC_MOD_CONTAINER=0x40000 -val SC_MODEVENTMASKALL=0x7FFFF +val SC_MOD_LEXERSTATE=0x80000 +val SC_MODEVENTMASKALL=0xFFFFF # For compatibility, these go through the COMMAND notification rather than NOTIFY # and should have had exactly the same values as the EN_* constants. -- cgit v1.2.3