aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2021-07-05 16:18:13 +1000
committerZufu Liu <unknown>2021-07-05 16:18:13 +1000
commit289314060dd7a44f9844cfc891d1c1d823742f94 (patch)
treea414ccc8b1136ea24f0d0e6d60bb5cc2f89d6fac /src/Document.h
parentc9d4cf4a91ae137870804d244945cb90c1dd37f4 (diff)
downloadscintilla-mirror-289314060dd7a44f9844cfc891d1c1d823742f94.tar.gz
Feature [feature-requests:#1408] Check both bytes of potential DBCS character
before treating as a character.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index c40ce2a44..fe27f4936 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -330,8 +330,8 @@ public:
bool SCI_METHOD IsDBCSLeadByte(char ch) const override;
bool IsDBCSLeadByteNoExcept(char ch) const noexcept;
bool IsDBCSTrailByteNoExcept(char ch) const noexcept;
- bool IsDBCSLeadByteInvalid(char ch) const noexcept;
int DBCSDrawBytes(std::string_view text) const noexcept;
+ bool IsDBCSDualByteAt(Sci::Position pos) const noexcept;
int SafeSegment(const char *text, int length, int lengthSegment) const noexcept;
EncodingFamily CodePageFamily() const noexcept;