mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-18 23:20:54 +00:00
properly re-sort the list when copying an existing clipboard entry
This commit is contained in:
parent
f915e46468
commit
a9411b3631
2 changed files with 16 additions and 8 deletions
|
@ -719,6 +719,7 @@ public final class InputLogic {
|
|||
case KeyCode.CLIPBOARD_CUT:
|
||||
if (mConnection.hasSelection()) {
|
||||
mConnection.copyText();
|
||||
// fake delete keypress to remove the text
|
||||
final Event backspaceEvent = LatinIME.createSoftwareKeypressEvent(KeyCode.DELETE,
|
||||
event.getMX(), event.getMY(), event.isKeyRepeat());
|
||||
handleBackspaceEvent(backspaceEvent, inputTransaction, currentKeyboardScript);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue