aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-02-22 17:06:50 +1100
committernyamatongwe <devnull@localhost>2013-02-22 17:06:50 +1100
commit18e16eec6d4a66f9d9a365e2498ab511e56b6a97 (patch)
tree47dc5204d018285b8d80187dfff81eb6d658e1e6 /include
parent64a54a3c407b2208f299701628619c55121da4a3 (diff)
downloadscintilla-mirror-18e16eec6d4a66f9d9a365e2498ab511e56b6a97.tar.gz
Define the maximum number of margins in Scintilla.iface.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface2
2 files changed, 3 insertions, 0 deletions
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