diff options
| author | Neil <nyamatongwe@gmail.com> | 2016-09-29 13:36:43 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2016-09-29 13:36:43 +1000 |
| commit | de7dccbae50c839869017a30cd5e57d6ef639242 (patch) | |
| tree | 6bedd6676770b1381104cddea9d4f0ff17ca5402 /include | |
| parent | cfe3c049555422cbc7dcf3fd2fadad2f08487dd7 (diff) | |
| download | scintilla-mirror-de7dccbae50c839869017a30cd5e57d6ef639242.tar.gz | |
The number of margins can be changed with SCI_SETMARGINS.
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 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_ |
