From 9cda372c64c8920d2e910825161a8ed882b417b3 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sat, 3 Jul 2021 12:59:39 +1000 Subject: Feature [feature-requests:#1408] Use positive IsDBCSTrailByteNoExcept function instead of negated IsDBCSTrailByteInvalid. --- src/Document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Document.h') 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; -- cgit v1.2.3