diff options
author | Neil <nyamatongwe@gmail.com> | 2014-02-02 18:09:44 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-02-02 18:09:44 +1100 |
commit | 687cd7a0e91208e97bd198cf13f416b0937dd6c3 (patch) | |
tree | a6d7f5846f990f253133af659524622292192736 /src/ViewStyle.cxx | |
parent | e9b3faa25f71650ed4c16aeeef893dd72d713525 (diff) | |
download | scintilla-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.cxx | 3 |
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; |