aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 4d01cb16a..60742b403 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -570,6 +570,9 @@ protected: // ScintillaBase subclass needs access to much of Editor
int CodePage() const noexcept;
virtual bool ValidCodePage(int /* codePage */) const { return true; }
+ virtual std::string UTF8FromEncoded(std::string_view encoded) const = 0;
+ virtual std::string EncodedFromUTF8(std::string_view utf8) const = 0;
+
Sci::Line WrapCount(Sci::Line line);
void AddStyledText(const char *buffer, Sci::Position appendLength);