aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYX Hao <unknown>2021-05-14 13:45:47 +1000
committerYX Hao <unknown>2021-05-14 13:45:47 +1000
commitc173fc47fda7bb86399bd777540bb17f8e05172d (patch)
tree7d2e3f3b7ae1bea1dffd5c859414d35eb83f3a14 /include
parentcafd88c083472076372469759addf9f491499de3 (diff)
downloadscintilla-mirror-c173fc47fda7bb86399bd777540bb17f8e05172d.tar.gz
Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour of
visible whitespace including translucency.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index de0e37ca7..b4ec3b462 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -287,6 +287,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SC_ELEMENT_CARET_ADDITIONAL 41
#define SC_ELEMENT_CARET_SECONDARY 42
#define SC_ELEMENT_CARET_LINE_BACK 50
+#define SC_ELEMENT_WHITE_SPACE 60
#define SCI_SETELEMENTCOLOUR 2753
#define SCI_GETELEMENTCOLOUR 2754
#define SCI_RESETELEMENTCOLOUR 2755
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 0f1b0fc3c..38b548d0d 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -694,6 +694,7 @@ val SC_ELEMENT_CARET=40
val SC_ELEMENT_CARET_ADDITIONAL=41
val SC_ELEMENT_CARET_SECONDARY=42
val SC_ELEMENT_CARET_LINE_BACK=50
+val SC_ELEMENT_WHITE_SPACE=60
# Set the colour of an element. Translucency (alpha) may or may not be significant
# and this may depend on the platform. The alpha byte should commonly be 0xff for opaque.