|
|
@ -571,8 +571,15 @@ namespace Avalonia.Android.Platform.SkiaPlatform |
|
|
BeginBatchEdit(); |
|
|
BeginBatchEdit(); |
|
|
_commitInProgress = true; |
|
|
_commitInProgress = true; |
|
|
|
|
|
|
|
|
|
|
|
var composingRegion = _editable.CurrentComposition; |
|
|
|
|
|
|
|
|
var ret = base.CommitText(text, newCursorPosition); |
|
|
var ret = base.CommitText(text, newCursorPosition); |
|
|
|
|
|
|
|
|
|
|
|
if(composingRegion.Start != -1) |
|
|
|
|
|
{ |
|
|
|
|
|
InputMethod.Client.Selection = composingRegion; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var committedText = text.SubSequence(0, text.Length()); |
|
|
var committedText = text.SubSequence(0, text.Length()); |
|
|
|
|
|
|
|
|
if (_inputMethod.IsActive) |
|
|
if (_inputMethod.IsActive) |
|
|
|