mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-10 16:39:35 +00:00
disable undo-like functionality for textInput, fixes #1019
This commit is contained in:
parent
73988394a9
commit
f2a46cfa9a
2 changed files with 35 additions and 1 deletions
|
@ -1212,7 +1212,12 @@ public final class InputLogic {
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (mEnteredText != null && mConnection.sameAsTextBeforeCursor(mEnteredText)) {
|
||||
// todo: this is currently disabled, as it causes inconsistencies with textInput, depending whether the end
|
||||
// is part of a word (where we start composing) or not (where we end in code below)
|
||||
// see https://github.com/Helium314/HeliBoard/issues/1019
|
||||
// with better emoji detection on backspace (getFullEmojiAtEnd), this functionality might not be necessary
|
||||
// -> enable again if there are issues, otherwise delete the code, together with mEnteredText
|
||||
if (false && mEnteredText != null && mConnection.sameAsTextBeforeCursor(mEnteredText)) {
|
||||
// Cancel multi-character input: remove the text we just entered.
|
||||
// This is triggered on backspace after a key that inputs multiple characters,
|
||||
// like the smiley key or the .com key.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue