From d3adb81fe67d6bbb8b922c72d9aa027f7e27f8a0 Mon Sep 17 00:00:00 2001
From: nyamatongwe 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.
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.
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