mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
Ensure capitalization is restored when current text is deleted (Fix #56)
This commit is contained in:
parent
a6d7e2d3ac
commit
a3ad8a83ce
1 changed files with 1 additions and 0 deletions
|
@ -1376,6 +1376,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
public void onUpWithDeletePointerActive() {
|
public void onUpWithDeletePointerActive() {
|
||||||
if (mInputLogic.mConnection.hasSelection()) {
|
if (mInputLogic.mConnection.hasSelection()) {
|
||||||
mInputLogic.sendDownUpKeyEvent(KeyEvent.KEYCODE_DEL);
|
mInputLogic.sendDownUpKeyEvent(KeyEvent.KEYCODE_DEL);
|
||||||
|
mInputLogic.sendDownUpKeyEvent(KeyEvent.KEYCODE_SHIFT_LEFT);
|
||||||
cleanupInternalStateForFinishInput();
|
cleanupInternalStateForFinishInput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue