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 | 335f4af10b617f51eb64ed4b15267e13cf587afa (patch) | |
| tree | 129ae76bab5d9f489bc9dda56360315f1b60cb61 /src/ViewStyle.h | |
| parent | 97782cf42d51d2834a9a92f460a1cb7d483f09d7 (diff) | |
| download | scintilla-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.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: |
