aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2021-07-03 12:59:39 +1000
committerZufu Liu <unknown>2021-07-03 12:59:39 +1000
commit9cda372c64c8920d2e910825161a8ed882b417b3 (patch)
treeef5ed7a0110c22327c6bb09d3f6b481ddfa83284 /src/Document.h
parent4a34a1f59a443403844c437d6d6a61c7a8019822 (diff)
downloadscintilla-mirror-9cda372c64c8920d2e910825161a8ed882b417b3.tar.gz
Feature [feature-requests:#1408] Use positive IsDBCSTrailByteNoExcept function
instead of negated IsDBCSTrailByteInvalid.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h
index 09d5841ed..88392c1a2 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -329,6 +329,7 @@ public:
int SCI_METHOD CodePage() const override;
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;
bool IsDBCSTrailByteInvalid(char ch) const noexcept;
int DBCSDrawBytes(std::string_view text) const noexcept;