diff options
author | mitchell <unknown> | 2019-07-11 12:49:28 -0400 |
---|---|---|
committer | mitchell <unknown> | 2019-07-11 12:49:28 -0400 |
commit | e305512e58c726ef1855ffec4af69c90cfc9e396 (patch) | |
tree | 9ac416d8c4d4c676d9bf8b7c6f546e179b583616 /src/ScintillaBase.h | |
parent | f40378978a7b3bb901a2085a2c76b1ac4a3f45a0 (diff) | |
download | scintilla-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.h | 5 |
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; |