aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-05-05 15:14:59 +1000
committerNeil <nyamatongwe@gmail.com>2021-05-05 15:14:59 +1000
commit2ff4fe286e9e7c0a36a9822cb24a89038b831ffd (patch)
treec7dd5b67552393d2db729b633c50ebfe5e8a87c8 /src
parent070f6e7b5fccfb11d27a86601f3f4ed086cc48b3 (diff)
downloadscintilla-mirror-2ff4fe286e9e7c0a36a9822cb24a89038b831ffd.tar.gz
Remove deprecated AddCharUTF method.
Diffstat (limited to 'src')
-rw-r--r--src/ScintillaBase.cxx4
-rw-r--r--src/ScintillaBase.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx
index 62c3fa658..a82f3dc4c 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -73,10 +73,6 @@ void ScintillaBase::Finalise() {
popup.Destroy();
}
-void ScintillaBase::AddCharUTF(const char *s, unsigned int len, bool /*treatAsDBCS*/) {
- InsertCharacter(std::string_view(s, len), CharacterSource::directInput);
-}
-
void ScintillaBase::InsertCharacter(std::string_view sv, CharacterSource charSource) {
const bool isFillUp = ac.Active() && ac.IsFillUpChar(sv[0]);
if (!isFillUp) {
diff --git a/src/ScintillaBase.h b/src/ScintillaBase.h
index 80314235b..d62162196 100644
--- a/src/ScintillaBase.h
+++ b/src/ScintillaBase.h
@@ -52,10 +52,6 @@ protected:
void Initialise() override {}
void Finalise() override;
- [[deprecated]]
- // This method is deprecated, use InsertCharacter instead. The treatAsDBCS parameter is no longer used.
- virtual void AddCharUTF(const char *s, unsigned int len, bool treatAsDBCS=false);
-
void InsertCharacter(std::string_view sv, CharacterSource charSource) override;
void Command(int cmdId);
void CancelModes() override;