From eb0879ee85600d100ba4611ed4549c86188e2019 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 15 Mar 2020 08:11:09 +1100 Subject: Bug [#2159]. SC_WRAP_CHAR is not supported for printing. --- doc/ScintillaDoc.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 9e1af134e..82ba26a3c 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -5800,17 +5800,16 @@ struct Sci_RangeToFormat {

SCI_SETPRINTWRAPMODE(int wrapMode)
SCI_GETPRINTWRAPMODE → int
These two functions get and set the printer wrap mode. wrapMode can be - set to SC_WRAP_NONE (0), SC_WRAP_WORD (1) or - SC_WRAP_CHAR (2). The default is + set to SC_WRAP_NONE (0) or SC_WRAP_WORD (1). + The default is SC_WRAP_WORD, which wraps printed output so that all characters fit into the print rectangle. If you set SC_WRAP_NONE, each line of text generates one line of output and the line is truncated if it is too long to fit into the print area.
SC_WRAP_WORD tries to wrap only between words as indicated by white space or style changes although if a word is longer than a line, it will be wrapped before - the line end. SC_WRAP_CHAR is preferred to - SC_WRAP_WORD for Asian languages where there is no white space - between words.

+ the line end.
+ SC_WRAP_CHAR is not supported for printing.

Direct access

SCI_GETDIRECTFUNCTION → pointer
-- cgit v1.2.3