From cfe3c049555422cbc7dcf3fd2fadad2f08487dd7 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 29 Sep 2016 13:33:35 +1000 Subject: Margin type SC_MARGIN_COLOUR and API SCI_SETMARGINBACKN added. Allows choosing any colour for a margin. --- include/Scintilla.iface | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/Scintilla.iface') 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_ -- cgit v1.2.3