From de7dccbae50c839869017a30cd5e57d6ef639242 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 29 Sep 2016 13:36:43 +1000 Subject: The number of margins can be changed with SCI_SETMARGINS. --- include/Scintilla.h | 2 ++ include/Scintilla.iface | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 77f4d5c7a..9fd519f6d 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -180,6 +180,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETMARGINCURSORN 2249 #define SCI_SETMARGINBACKN 2250 #define SCI_GETMARGINBACKN 2251 +#define SCI_SETMARGINS 2252 +#define SCI_GETMARGINS 2253 #define STYLE_DEFAULT 32 #define STYLE_LINENUMBER 33 #define STYLE_BRACELIGHT 34 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index fdc90807e..7aa00c201 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -398,6 +398,12 @@ set void SetMarginBackN=2250(int margin, colour back) # Retrieve the background colour of a margin get colour GetMarginBackN=2251(int margin,) +# Allocate a non-standard number of margins. +set void SetMargins=2252(int margins,) + +# How many margins are there?. +get int GetMargins=2253(,) + # 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