aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-05-14 13:33:11 +1000
committerNeil <nyamatongwe@gmail.com>2021-05-14 13:33:11 +1000
commit91a0a5c9be59308be001bbc89c0aead0f3602494 (patch)
tree43c70147bfce95a4b3fc8d5397faed70cafcffee /include
parent2feaeaf738851055a79ffcfb9027a3637610faca (diff)
downloadscintilla-mirror-91a0a5c9be59308be001bbc89c0aead0f3602494.tar.gz
Add SCI_MARKERSETLAYER to define layer on which to draw content area markers.
This replaces the use of SC_ALPHA_NOALPHA for markers.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index d48ad6c5a..de0e37ca7 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -177,6 +177,8 @@ 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 SCI_MARKERGETLAYER 2734
+#define SCI_MARKERSETLAYER 2735
#define SC_MAX_MARGIN 4
#define SC_MARGIN_SYMBOL 0
#define SC_MARGIN_NUMBER 1
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 8a2b0de66..0f1b0fc3c 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -453,6 +453,12 @@ fun void MarkerAddSet=2466(line line, int markerSet)
# Set the alpha used for a marker that is drawn in the text area, not the margin.
set void MarkerSetAlpha=2476(int markerNumber, Alpha alpha)
+# Get the layer used for a marker that is drawn in the text area, not the margin.
+get Layer MarkerGetLayer=2734(int markerNumber,)
+
+# Set the layer used for a marker that is drawn in the text area, not the margin.
+set void MarkerSetLayer=2735(int markerNumber, Layer layer)
+
val SC_MAX_MARGIN=4
enu MarginType=SC_MARGIN_