diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-03-15 08:11:09 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-03-15 08:11:09 +1100 |
| commit | b23671ce01cca7778949e96a067a60f8bacf1e94 (patch) | |
| tree | 5f5449f61b3f58a4cd9e173c418bf37f1d0b59f8 | |
| parent | 3d4fafdd662a2ac7267afdaef44bad54302ebe50 (diff) | |
| download | scintilla-mirror-b23671ce01cca7778949e96a067a60f8bacf1e94.tar.gz | |
Backport: Bug [#2159]. SC_WRAP_CHAR is not supported for printing.
Backport of changeset 8005:97b76d46ea98.
| -rw-r--r-- | doc/ScintillaDoc.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 899c52258..0b1fafb71 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -5745,17 +5745,16 @@ struct Sci_RangeToFormat { <p><b id="SCI_SETPRINTWRAPMODE">SCI_SETPRINTWRAPMODE(int wrapMode)</b><br /> <b id="SCI_GETPRINTWRAPMODE">SCI_GETPRINTWRAPMODE → int</b><br /> These two functions get and set the printer wrap mode. <code class="parameter">wrapMode</code> can be - set to <code>SC_WRAP_NONE</code> (0), <code>SC_WRAP_WORD</code> (1) or - <code>SC_WRAP_CHAR</code> (2). The default is + set to <code>SC_WRAP_NONE</code> (0) or <code>SC_WRAP_WORD</code> (1). + The default is <code>SC_WRAP_WORD</code>, which wraps printed output so that all characters fit into the print rectangle. If you set <code>SC_WRAP_NONE</code>, 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.<br /> <code>SC_WRAP_WORD</code> 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. <code>SC_WRAP_CHAR</code> is preferred to - <code>SC_WRAP_WORD</code> for Asian languages where there is no white space - between words.</p> + the line end. <br /> + <code>SC_WRAP_CHAR</code> is not supported for printing.</p> <h2 id="DirectAccess">Direct access</h2> <code><a class="message" href="#SCI_GETDIRECTFUNCTION">SCI_GETDIRECTFUNCTION → pointer</a><br /> |
