aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/ScintillaQt.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-06-24 15:00:50 +1000
committerNeil <nyamatongwe@gmail.com>2020-06-24 15:00:50 +1000
commit69d678787645b2dd7d0cd40db4aa5c538ab13f9b (patch)
tree2058ecc0057a30473b082e2cd08a5f766e4eba79 /qt/ScintillaEditBase/ScintillaQt.h
parentb047c81396af14e5497d969b37b1df9d67d09d17 (diff)
downloadscintilla-mirror-69d678787645b2dd7d0cd40db4aa5c538ab13f9b.tar.gz
Converting between UTF-8 and current encoding.
Allows platform-independent code to be written just to handle Unicode.
Diffstat (limited to 'qt/ScintillaEditBase/ScintillaQt.h')
-rw-r--r--qt/ScintillaEditBase/ScintillaQt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt/ScintillaEditBase/ScintillaQt.h b/qt/ScintillaEditBase/ScintillaQt.h
index 5a6f9efa1..64268aa75 100644
--- a/qt/ScintillaEditBase/ScintillaQt.h
+++ b/qt/ScintillaEditBase/ScintillaQt.h
@@ -104,6 +104,8 @@ private:
void Finalise() override;
bool DragThreshold(Point ptStart, Point ptNow) override;
bool ValidCodePage(int codePage) const override;
+ std::string UTF8FromEncoded(std::string_view encoded) const override;
+ std::string EncodedFromUTF8(std::string_view utf8) const override;
private:
void ScrollText(Sci::Line linesToMove) override;