1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

TextInputTarget: Improve IME support on Android

This commit is contained in:
reuk 2022-11-29 13:15:47 +00:00
parent 5ed4b19e4d
commit da38c1ed2a
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
22 changed files with 1796 additions and 928 deletions

View file

@ -476,6 +476,11 @@ CodeEditorComponent::CodeEditorComponent (CodeDocument& doc, CodeTokeniser* cons
CodeEditorComponent::~CodeEditorComponent()
{
giveAwayKeyboardFocus();
if (auto* peer = getPeer())
peer->refreshTextInputTarget();
document.removeListener (pimpl.get());
}