aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h9
-rw-r--r--include/Scintilla.iface18
2 files changed, 19 insertions, 8 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index be1230821..e53931e0f 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -238,8 +238,13 @@ void Scintilla_RegisterClasses(HINSTANCE hInstance);
#define SCI_GETSELECTIONEND SCI_START + 145
#define SCI_SETPRINTMAGNIFICATION SCI_START + 146
#define SCI_GETPRINTMAGNIFICATION SCI_START + 147
-#define SCI_SETPRINTINVERTLIGHT SCI_START + 148
-#define SCI_GETPRINTINVERTLIGHT SCI_START + 149
+
+#define SC_PRINT_NORMAL 0
+#define SC_PRINT_INVERTLIGHT 1
+#define SC_PRINT_BLACKONWHITE 2
+
+#define SCI_SETPRINTCOLOURMODE SCI_START + 148
+#define SCI_GETPRINTCOLOURMODE SCI_START + 149
#define SCI_CALLTIPSHOW SCI_START + 200
#define SCI_CALLTIPCANCEL SCI_START + 201
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 28c60f13d..ce52f1c70 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -502,12 +502,18 @@ set void SetPrintMagnification=2146(int magnification,)
# Returns the print magnification.
get int GetPrintMagnification=2147(,)
-# Set to invert the light value of each style for printing.
-# Used to produce reasonable print output when black background used.
-set void SetPrintInvertLight=2148(bool invert,)
-
-# Returns the invert light value property.
-get bool GetPrintInvertLight=2149(,)
+# PrintColourMode - use same colours as screen.
+val SC_PRINT_NORMAL=0
+# PrintColourMode - invert the light value of each style for printing.
+val SC_PRINT_INVERTLIGHT=1
+# PrintColourMode - force black text on white background for printing.
+val SC_PRINT_BLACKONWHITE=2
+
+# Modify colours when printing for clearer printed text.
+set void SetPrintColourMode=2148(int mode,)
+
+# Returns the print colour mode.
+get int GetPrintColourMode=2149(,)
# Show a call tip containing a definition near position pos.
fun void CallTipShow=2200(position pos, string definition)