aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-07-16 10:20:23 +1000
committerNeil <nyamatongwe@gmail.com>2020-07-16 10:20:23 +1000
commit335f4af10b617f51eb64ed4b15267e13cf587afa (patch)
tree129ae76bab5d9f489bc9dda56360315f1b60cb61 /src/ViewStyle.h
parent97782cf42d51d2834a9a92f460a1cb7d483f09d7 (diff)
downloadscintilla-mirror-335f4af10b617f51eb64ed4b15267e13cf587afa.tar.gz
Backport: Make WrapMode an enum class for more type safety.
Backport of changeset 8413:ef7672c46486.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h2
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: