From d3adb81fe67d6bbb8b922c72d9aa027f7e27f8a0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 16 Feb 2005 13:13:09 +0000 Subject: Fixed grammar of Wrap mode documentation. --- doc/ScintillaDoc.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 495d93dff..1520b5437 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3587,9 +3587,11 @@ struct RangeToFormat { 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.
It is important that SC_WRAP_WORD is - not only for low spec computers but for some languages/situations. This makes - wrapping after any characters but it is OK. Some language don't have whitespaces + 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.

Direct access

@@ -3931,10 +3933,12 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){

SCI_SETWRAPMODE(int wrapMode)
SCI_GETWRAPMODE
- Set wrapMode to SC_WRAP_WORD (1) to enable line wrapping and to - SC_WRAP_NONE (0) to disable line wrapping. And to - SC_WRAP_CHAR (2), it is highly recommended to implement for i18n - product, enables character wrapping mode.

+ Set wrapMode to SC_WRAP_WORD (1) to enable wrapping + on word boundaries, SC_WRAP_CHAR (2) to enable wrapping + between any characters, and to SC_WRAP_NONE (0) to disable line + wrapping. SC_WRAP_CHAR is preferred to + SC_WRAP_WORD for Asian languages where there is no white space + between words.

SCI_SETWRAPVISUALFLAGS(int wrapVisualFlags)
-- cgit v1.2.3