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
commit687cd7a0e91208e97bd198cf13f416b0937dd6c3 (patch)
treea6d7f5846f990f253133af659524622292192736 /src/ViewStyle.cxx
parente9b3faa25f71650ed4c16aeeef893dd72d713525 (diff)
downloadscintilla-mirror-687cd7a0e91208e97bd198cf13f416b0937dd6c3.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;