diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 3 | ||||
| -rw-r--r-- | include/Scintilla.iface | 7 | 
2 files changed, 10 insertions, 0 deletions
| diff --git a/include/Scintilla.h b/include/Scintilla.h index 2d6b06b22..77f4d5c7a 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -167,6 +167,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,  #define SC_MARGIN_FORE 3  #define SC_MARGIN_TEXT 4  #define SC_MARGIN_RTEXT 5 +#define SC_MARGIN_COLOUR 6  #define SCI_SETMARGINTYPEN 2240  #define SCI_GETMARGINTYPEN 2241  #define SCI_SETMARGINWIDTHN 2242 @@ -177,6 +178,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,  #define SCI_GETMARGINSENSITIVEN 2247  #define SCI_SETMARGINCURSORN 2248  #define SCI_GETMARGINCURSORN 2249 +#define SCI_SETMARGINBACKN 2250 +#define SCI_GETMARGINBACKN 2251  #define STYLE_DEFAULT 32  #define STYLE_LINENUMBER 33  #define STYLE_BRACELIGHT 34 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index bee9aeef8..fdc90807e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -360,6 +360,7 @@ val SC_MARGIN_BACK=2  val SC_MARGIN_FORE=3  val SC_MARGIN_TEXT=4  val SC_MARGIN_RTEXT=5 +val SC_MARGIN_COLOUR=6  # Set a margin to be either numeric or symbolic.  set void SetMarginTypeN=2240(int margin, int marginType) @@ -391,6 +392,12 @@ set void SetMarginCursorN=2248(int margin, int cursor)  # Retrieve the cursor shown in a margin.  get int GetMarginCursorN=2249(int margin,) +# Set the background colour of a margin. Only visible for SC_MARGIN_COLOUR. +set void SetMarginBackN=2250(int margin, colour back) + +# Retrieve the background colour of a margin +get colour GetMarginBackN=2251(int margin,) +  # Styles in range 32..38 are predefined for parts of the UI and are not used as normal styles.  # Style 39 is for future use.  enu StylesCommon=STYLE_ | 
