From ca17c0cc2e37c264782d3f1db49278366e562dcb Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 20 Mar 2003 11:22:14 +0000 Subject: Patch from Simon Steele to implement the hotspot style and associated notifications. --- include/Scintilla.iface | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index dcd5711a9..a8f848227 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -412,6 +412,9 @@ set void StyleSetCase=2060(int style, int caseForce) # Set the character set of the font in a style. set void StyleSetCharacterSet=2066(int style, int characterSet) +# Set a style to be a hotspot or not. +set void StyleSetHotSpot=2409(int style, bool hotspot) + # Set the foreground colour of the selection and whether to use this setting. fun void SetSelFore=2067(bool useSetting, colour fore) @@ -1424,6 +1427,15 @@ set void SetPrintWrapMode=2406(int mode,) # Is printing line wrapped. get int GetPrintWrapMode=2407(,) +# Set a fore colour for active hotspots. +set void SetHotspotActiveFore=2410(bool useSetting, colour fore) + +# Set a back colour for active hotspots. +set void SetHotspotActiveBack=2411(bool useSetting, colour back) + +# Enable / Disable underlining active hotspots. +set void SetHotspotActiveUnderline=2412(bool underline,) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) @@ -1448,6 +1460,9 @@ set void SetKeyWords=4005(int keywordSet, string keyWords) # Set the lexing language of the document based on string name. set void SetLexerLanguage=4006(, string language) +# Load a lexer library (dll / so) +fun void LoadLexerLibrary=4007(, string path) + # 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. @@ -2047,6 +2062,8 @@ evt void URIDropped=2015(string text) evt void DwellStart=2016(int position) evt void DwellEnd=2017(int position) evt void Zoom=2018(void) +evt void HotSpotClick=2019(int modifiers, int position) +evt void HotSpotDoubleClick=2020(int modifiers, int position) cat Deprecated -- cgit v1.2.3