void HandleTextInput() { InputTextField textField = (InputTextField)_focused; if (!textField.editable) { return; } if (keyboardInput) { if (textField.keyboardInput && _keyboard != null) { string s = _keyboard.GetInput(); if (s != null) { if (_keyboard.supportsCaret) { textField.ReplaceSelection(s); } else { textField.ReplaceText(s); } } if (_keyboard.done) { this.focus = null; } } } else { textField.CheckComposition(); } }