aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/StyleContext.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-07-16 19:46:17 +1000
committerNeil <nyamatongwe@gmail.com>2020-07-16 19:46:17 +1000
commiteee3518ff6d00cbc477f69ffeb75a08024f45c75 (patch)
tree00aa8225a539247173ded9687cc4f7bad843f995 /lexlib/StyleContext.h
parent335f4af10b617f51eb64ed4b15267e13cf587afa (diff)
downloadscintilla-mirror-eee3518ff6d00cbc477f69ffeb75a08024f45c75.tar.gz
Backport: Make EncodingType an enum class.
Backport of changeset 8414:b093ae84d34a.
Diffstat (limited to 'lexlib/StyleContext.h')
-rw-r--r--lexlib/StyleContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/StyleContext.h b/lexlib/StyleContext.h
index 320a96652..e84f001f7 100644
--- a/lexlib/StyleContext.h
+++ b/lexlib/StyleContext.h
@@ -72,7 +72,7 @@ public:
width(0),
chNext(0),
widthNext(1) {
- if (styler.Encoding() != enc8bit) {
+ if (styler.Encoding() != EncodingType::eightBit) {
multiByteAccess = styler.MultiByteAccess();
}
styler.StartAt(startPos /*, chMask*/);