diff options
| author | nyamatongwe <unknown> | 2010-07-13 21:30:08 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-07-13 21:30:08 +1000 |
| commit | e57e6904030c8df384b5f4b33b892ffa5dad4fe6 (patch) | |
| tree | 440e71edf4486ff514cbca6f65506e6121f2f7d5 /include/Scintilla.iface | |
| parent | 9f6099816f5f0553bbbc235cc250cb63c334a4fa (diff) | |
| download | scintilla-mirror-e57e6904030c8df384b5f4b33b892ffa5dad4fe6.tar.gz | |
New interface features for new lexer infrastructure.
Diffstat (limited to 'include/Scintilla.iface')
| -rw-r--r-- | include/Scintilla.iface | 10 |
1 files changed, 9 insertions, 1 deletions
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. |
