From 6eee037fe180acd217d783aebb1e0aafda3b64b2 Mon Sep 17 00:00:00 2001
From: nyamatongwe SCI_SETPRINTWRAPMODE(int wrapMode)
SCI_GETPRINTWRAPMODE
These two functions get and set the printer wrap mode. wrapMode can be
- set to SC_WRAP_NONE (0) or SC_WRAP_WORD (1). The default is
+ set to SC_WRAP_NONE (0), SC_WRAP_WORD (1) or
+ SC_WRAP_CHAR (2). 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.
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
+ between words.
SCI_GETDIRECTFUNCTION
@@ -3928,7 +3932,10 @@ 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.
+ 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.
+
SCI_SETWRAPVISUALFLAGS(int wrapVisualFlags)
SCI_GETWRAPVISUALFLAGS
--
cgit v1.2.3