From 050ec00a46f30ece18fdf732690f5897651e7809 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 22 Feb 2013 17:06:50 +1100 Subject: Define the maximum number of margins in Scintilla.iface. --- include/Scintilla.h | 1 + include/Scintilla.iface | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 717a6895f..15a86682e 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -148,6 +148,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_MARKERDEFINEPIXMAP 2049 #define SCI_MARKERADDSET 2466 #define SCI_MARKERSETALPHA 2476 +#define SC_MAX_MARGIN 4 #define SC_MARGIN_SYMBOL 0 #define SC_MARGIN_NUMBER 1 #define SC_MARGIN_BACK 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index f66324572..cb6c0e632 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -326,6 +326,8 @@ fun void MarkerAddSet=2466(int line, int set) # Set the alpha used for a marker that is drawn in the text area, not the margin. set void MarkerSetAlpha=2476(int markerNumber, int alpha) +val SC_MAX_MARGIN=4 + enu MarginType=SC_MARGIN_ val SC_MARGIN_SYMBOL=0 val SC_MARGIN_NUMBER=1 -- cgit v1.2.3