diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-27 08:48:56 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-27 08:48:56 +1100 |
commit | c02f75227ef151af1b283e4436d06149e69679a7 (patch) | |
tree | 8a29be357829e31eeaeca18d5bd9e6b618d70c34 /include | |
parent | ec5b61c78f47269ba7f3015e31133e17e5de8fda (diff) | |
download | scintilla-mirror-c02f75227ef151af1b283e4436d06149e69679a7.tar.gz |
Add API for setting stroke width of indicators.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 81869efec..69dc2d057 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -328,6 +328,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SC_INDICFLAG_VALUEFORE 1 #define SCI_INDICSETFLAGS 2684 #define SCI_INDICGETFLAGS 2685 +#define SCI_INDICSETSTROKEWIDTH 2751 +#define SCI_INDICGETSTROKEWIDTH 2752 #define SCI_SETWHITESPACEFORE 2084 #define SCI_SETWHITESPACEBACK 2085 #define SCI_SETWHITESPACESIZE 2086 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d11bbc79a..23938bfd9 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -813,6 +813,12 @@ set void IndicSetFlags=2684(int indicator, IndicFlag flags) # Retrieve the attributes of an indicator. get IndicFlag IndicGetFlags=2685(int indicator,) +# Set the stroke width of an indicator in hundredths of a pixel. +set void IndicSetStrokeWidth=2751(int indicator, int hundredths) + +# Retrieve the stroke width of an indicator. +get int IndicGetStrokeWidth=2752(int indicator,) + # Set the foreground colour of all whitespace and whether to use this setting. fun void SetWhitespaceFore=2084(bool useSetting, colour fore) |