diff options
author | Nicholai Benalal <unknown> | 2018-04-19 07:31:34 +1000 |
---|---|---|
committer | Nicholai Benalal <unknown> | 2018-04-19 07:31:34 +1000 |
commit | 1eb0f569bf6e9d3fde4f482fb2c06e980b6f72af (patch) | |
tree | ed0ed7afb0f2df1328cc0ff0201a6cd5907d1314 /include | |
parent | cf140021a52c563e8f6835364499c0ecf54e8ded (diff) | |
download | scintilla-mirror-1eb0f569bf6e9d3fde4f482fb2c06e980b6f72af.tar.gz |
Backport: SC_PRINT_SCREENCOLOURS doesn't force the background colour of line numbers white.
Backport of changeset 6700:daa126b86c17.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index d17a53718..833ac9aab 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -390,6 +390,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SC_PRINT_BLACKONWHITE 2 #define SC_PRINT_COLOURONWHITE 3 #define SC_PRINT_COLOURONWHITEDEFAULTBG 4 +#define SC_PRINT_SCREENCOLOURS 5 #define SCI_SETPRINTCOLOURMODE 2148 #define SCI_GETPRINTCOLOURMODE 2149 #define SCFIND_WHOLEWORD 0x2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index e7c6d4725..b51d0db96 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -922,6 +922,7 @@ get int GetPrintMagnification=2147(,) enu PrintOption=SC_PRINT_ # PrintColourMode - use same colours as screen. +# with the exception of line number margins, which use a white background val SC_PRINT_NORMAL=0 # PrintColourMode - invert the light value of each style for printing. val SC_PRINT_INVERTLIGHT=1 @@ -931,6 +932,8 @@ val SC_PRINT_BLACKONWHITE=2 val SC_PRINT_COLOURONWHITE=3 # PrintColourMode - only the default-background is forced to be white for printing. val SC_PRINT_COLOURONWHITEDEFAULTBG=4 +# PrintColourMode - use same colours as screen, including line number margins. +val SC_PRINT_SCREENCOLOURS=5 # Modify colours when printing for clearer printed text. set void SetPrintColourMode=2148(int mode,) |