aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-02-02 18:09:44 +1100
committerNeil <nyamatongwe@gmail.com>2014-02-02 18:09:44 +1100
commit253bc4cd3a19e93f7090c74af92a871765afe002 (patch)
tree8c09bb0f872d03ced471ca583408bb0d5eb8ff16 /src/ViewStyle.cxx
parentb6c1e9cab3172739006d3a3763cbf5fd8ee95fe6 (diff)
downloadscintilla-mirror-253bc4cd3a19e93f7090c74af92a871765afe002.tar.gz
Added wrap mode SC_WRAP_WHITESPACE which only wraps on whitespace, not on style changes.
From Robert Gieseke.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 4b82c9c05..503775dbf 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -450,6 +450,9 @@ bool ViewStyle::SetWrapState(int wrapState_) {
case SC_WRAP_CHAR:
wrapStateWanted = eWrapChar;
break;
+ case SC_WRAP_WHITESPACE:
+ wrapStateWanted = eWrapWhitespace;
+ break;
default:
wrapStateWanted = eWrapNone;
break;