From 1eb0f569bf6e9d3fde4f482fb2c06e980b6f72af Mon Sep 17 00:00:00 2001 From: Nicholai Benalal Date: Thu, 19 Apr 2018 07:31:34 +1000 Subject: Backport: SC_PRINT_SCREENCOLOURS doesn't force the background colour of line numbers white. Backport of changeset 6700:daa126b86c17. --- doc/ScintillaDoc.html | 17 ++++++++++++++--- doc/ScintillaHistory.html | 5 +++++ 2 files changed, 19 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index b55c305b4..d019a5688 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -5534,7 +5534,8 @@ struct Sci_RangeToFormat { 0 - Print using the current screen colours. This is the default. + Print using the current screen colours with the exception of line number margins which print on a white background. + This is the default. @@ -5567,9 +5568,19 @@ struct Sci_RangeToFormat { 4 - Everything prints in its own colour on a white background except that line numbers - use their own background colour. + Everything prints in its own foreground colour but all styles up to and including STYLE_LINENUMBER will print + on a white background. + + + SC_PRINT_SCREENCOLOURS + + 5 + + Print using the current screen colours for both foreground and background. + This is the only mode that does not set the background colour of the line number margin to white. + + diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 61d3e3bf3..620b44aad 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -520,6 +520,7 @@ Georger Araújo Dimitar Radev Gunter Königsmann + Nicholai Benalal

@@ -543,6 +544,10 @@ 2 GigaBytes.

  • + Additional print option SC_PRINT_SCREENCOLOURS prints with the same colours used on screen + including line numbers. +
  • +
  • Set the last X chosen when SCI_REPLACESEL called to ensure macros work when text insertion followed by caret up or down.
  • -- cgit v1.2.3