diff options
author | Neil <nyamatongwe@gmail.com> | 2020-07-16 10:20:23 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-07-16 10:20:23 +1000 |
commit | 8c86b7a6de1048d4c86e07c44da27b0dba4d7572 (patch) | |
tree | f6152138212f98b38237ddc19598498681eb9d42 /src/ViewStyle.h | |
parent | c2c917c1b04cbe1ad3bc61ca6a0d51d45b32c0d0 (diff) | |
download | scintilla-mirror-8c86b7a6de1048d4c86e07c44da27b0dba4d7572.tar.gz |
Make WrapMode an enum class for more type safety.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index e5bf375f4..c043cd45c 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -48,7 +48,7 @@ enum TabDrawMode {tdLongArrow=0, tdStrikeOut=1}; typedef std::map<FontSpecification, std::unique_ptr<FontRealised>> FontMap; -enum WrapMode { eWrapNone, eWrapWord, eWrapChar, eWrapWhitespace }; +enum class WrapMode { none, word, character, whitespace }; class ColourOptional : public ColourDesired { public: |