diff options
author | Neil <nyamatongwe@gmail.com> | 2015-02-04 08:04:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-02-04 08:04:06 +1100 |
commit | ca6e6726ea248cc86dad9a3eddf649abe98add60 (patch) | |
tree | 39dd457627c279bf35444c81c2ab69068dde1577 /include | |
parent | 2a01e4a708c371b061a9669ea3204a295e835ada (diff) | |
download | scintilla-mirror-ca6e6726ea248cc86dad9a3eddf649abe98add60.tar.gz |
Implement hover style and colour for indicators.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 4 | ||||
-rw-r--r-- | include/Scintilla.iface | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index e4625356b..e8c5a7414 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -289,6 +289,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_INDICGETFORE 2083 #define SCI_INDICSETUNDER 2510 #define SCI_INDICGETUNDER 2511 +#define SCI_INDICSETHOVERSTYLE 2680 +#define SCI_INDICGETHOVERSTYLE 2681 +#define SCI_INDICSETHOVERFORE 2682 +#define SCI_INDICGETHOVERFORE 2683 #define SCI_SETWHITESPACEFORE 2084 #define SCI_SETWHITESPACEBACK 2085 #define SCI_SETWHITESPACESIZE 2086 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index fe0b66454..b609c056f 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -633,6 +633,18 @@ set void IndicSetUnder=2510(int indic, bool under) # Retrieve whether indicator drawn under or over text. get bool IndicGetUnder=2511(int indic,) +# Set a hover indicator to plain, squiggle or TT. +set void IndicSetHoverStyle=2680(int indic, int style) + +# Retrieve the hover style of an indicator. +get int IndicGetHoverStyle=2681(int indic,) + +# Set the foreground hover colour of an indicator. +set void IndicSetHoverFore=2682(int indic, colour fore) + +# Retrieve the foreground hover colour of an indicator. +get colour IndicGetHoverFore=2683(int indic,) + # Set the foreground colour of all whitespace and whether to use this setting. fun void SetWhitespaceFore=2084(bool useSetting, colour fore) |