aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.h
diff options
context:
space:
mode:
authormitchell <unknown>2019-07-11 12:49:28 -0400
committermitchell <unknown>2019-07-11 12:49:28 -0400
commite305512e58c726ef1855ffec4af69c90cfc9e396 (patch)
tree9ac416d8c4d4c676d9bf8b7c6f546e179b583616 /src/ScintillaBase.h
parentf40378978a7b3bb901a2085a2c76b1ac4a3f45a0 (diff)
downloadscintilla-mirror-e305512e58c726ef1855ffec4af69c90cfc9e396.tar.gz
Backport: Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.
Backport of changeset 7575:e1e9f53b0423.
Diffstat (limited to 'src/ScintillaBase.h')
-rw-r--r--src/ScintillaBase.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ScintillaBase.h b/src/ScintillaBase.h
index 39fb9d411..dc1438155 100644
--- a/src/ScintillaBase.h
+++ b/src/ScintillaBase.h
@@ -61,7 +61,10 @@ protected:
void Initialise() override {}
void Finalise() override;
- void AddCharUTF(const char *s, unsigned int len, bool treatAsDBCS=false) override;
+ // 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(const char *s, unsigned int len) override;
void Command(int cmdId);
void CancelModes() override;
int KeyCommand(unsigned int iMessage) override;