Skip to content

Commit 4a6775a

Browse files
Fix Trailing word issue
1 parent ef3f869 commit 4a6775a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/helium314/keyboard/latin/LatinIME.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,8 @@ public void onEvent(@NonNull final Event event) {
14181418
// Delete one word immediately.
14191419
final android.view.inputmethod.InputConnection ic = getCurrentInputConnection();
14201420
if (ic != null) {
1421+
1422+
ic.finishComposingText();
14211423
// Pick 64 preceding characters
14221424
CharSequence textBefore = ic.getTextBeforeCursor(64, 0);
14231425
if (!android.text.TextUtils.isEmpty(textBefore)) {

0 commit comments

Comments
 (0)