From 253bc4cd3a19e93f7090c74af92a871765afe002 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 2 Feb 2014 18:09:44 +1100 Subject: Added wrap mode SC_WRAP_WHITESPACE which only wraps on whitespace, not on style changes. From Robert Gieseke. --- include/Scintilla.h | 1 + include/Scintilla.iface | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index ae1abc8e0..94a9d4b17 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -475,6 +475,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SC_WRAP_NONE 0 #define SC_WRAP_WORD 1 #define SC_WRAP_CHAR 2 +#define SC_WRAP_WHITESPACE 3 #define SCI_SETWRAPMODE 2268 #define SCI_GETWRAPMODE 2269 #define SC_WRAPVISUALFLAG_NONE 0x0000 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 0728eadc0..77e932193 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1189,6 +1189,7 @@ enu Wrap=SC_WRAP_ val SC_WRAP_NONE=0 val SC_WRAP_WORD=1 val SC_WRAP_CHAR=2 +val SC_WRAP_WHITESPACE=3 # Sets whether text is word wrapped. set void SetWrapMode=2268(int mode,) -- cgit v1.2.3