mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
* commit '8c470f16db291e257ac538bd0ac2a9354d34010c': Fix a bug with some text fields
This commit is contained in:
commit
3a9f84a197
@ -144,7 +144,8 @@ public final class RichInputConnection {
|
||||
mCurrentCursorPosition = newCursorPosition;
|
||||
mComposingText.setLength(0);
|
||||
mCommittedTextBeforeComposingText.setLength(0);
|
||||
mCommittedTextBeforeComposingText.append(getTextBeforeCursor(DEFAULT_TEXT_CACHE_SIZE, 0));
|
||||
final CharSequence textBeforeCursor = getTextBeforeCursor(DEFAULT_TEXT_CACHE_SIZE, 0);
|
||||
if (null != textBeforeCursor) mCommittedTextBeforeComposingText.append(textBeforeCursor);
|
||||
mCharAfterTheCursor = getTextAfterCursor(1, 0);
|
||||
if (null != mIC) {
|
||||
mIC.finishComposingText();
|
||||
|
Loading…
Reference in New Issue
Block a user