diff options
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index fab1a2406..e730d0622 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -278,7 +278,7 @@ void ViewStyle::Init(size_t stylesSize_) { ctrlCharPadding = 3; // +3 For a blank on front and rounded edge each side lastSegItalicsOffset = 2; - wrapState = eWrapNone; + wrapState = WrapMode::none; wrapVisualFlags = 0; wrapVisualFlagsLocation = 0; wrapVisualStartIndent = 0; @@ -508,16 +508,16 @@ bool ViewStyle::SetWrapState(int wrapState_) noexcept { WrapMode wrapStateWanted; switch (wrapState_) { case SC_WRAP_WORD: - wrapStateWanted = eWrapWord; + wrapStateWanted = WrapMode::word; break; case SC_WRAP_CHAR: - wrapStateWanted = eWrapChar; + wrapStateWanted = WrapMode::character; break; case SC_WRAP_WHITESPACE: - wrapStateWanted = eWrapWhitespace; + wrapStateWanted = WrapMode::whitespace; break; default: - wrapStateWanted = eWrapNone; + wrapStateWanted = WrapMode::none; break; } const bool changed = wrapState != wrapStateWanted; |