aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-08-05 06:48:27 +0000
committernyamatongwe <devnull@localhost>2002-08-05 06:48:27 +0000
commitc8d0c32129aaaf7f56091ec267f86c0fec7267b0 (patch)
treed29470a095456504b888e2779eb49a4b07f42db0 /include
parent734741819ffb01a79faa13abe15462acb9054f37 (diff)
downloadscintilla-mirror-c8d0c32129aaaf7f56091ec267f86c0fec7267b0.tar.gz
Visible whitespace specifiable colours feature from Martin Alderson.
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 165f504e6..0e0fad265 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -206,6 +206,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_INDICGETSTYLE 2081
#define SCI_INDICSETFORE 2082
#define SCI_INDICGETFORE 2083
+#define SCI_SETWHITESPACEFORE 2084
+#define SCI_SETWHITESPACEBACK 2085
#define SCI_SETSTYLEBITS 2090
#define SCI_GETSTYLEBITS 2091
#define SCI_SETLINESTATE 2092
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 0f06d0c88..f31cd7806 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -467,6 +467,12 @@ set void IndicSetFore=2082(int indic, colour fore)
# Retrieve the foreground colour of an indicator.
get colour IndicGetFore=2083(int indic,)
+# Set the foreground colour of all whitespace and whether to use this setting.
+fun void SetWhitespaceFore=2084(bool useSetting, colour fore)
+
+# Set the background colour of all whitespace and whether to use this setting.
+fun void SetWhitespaceBack=2085(bool useSetting, colour back)
+
# Divide each styling byte into lexical class bits (default: 5) and indicator
# bits (default: 3). If a lexer requires more than 32 lexical states, then this
# is used to expand the possible states.