Skip to content

add option to delete whole words when swiping backspace#2499

Open
Mister-Link wants to merge 1 commit into
HeliBorg:mainfrom
Mister-Link:feature/swipe-backspace-delete-words
Open

add option to delete whole words when swiping backspace#2499
Mister-Link wants to merge 1 commit into
HeliBorg:mainfrom
Mister-Link:feature/swipe-backspace-delete-words

Conversation

@Mister-Link
Copy link
Copy Markdown

Includes Gboard functionality: swipe left/right from backspace key deletes WORDS, instead of character-by-character.

I only rarely use GitHub for PRs.. not sure if I'm not following the guide or anything. I'm also a layman programmer, but it works for my purposes. Mostly creating this so I can attach to issue 1289. This might be a nice bandaid for them, if they're so inclined to rebuild the .apk

@Helium314
Copy link
Copy Markdown
Collaborator

Thanks!
I see this has the same problem with word break logic as #2329: it's using BreakIterator with a fixed locale, and thus ignores HeliBoard word detection logic (currently part of getTouchedWordRange).
Do you see it feasible to split and re-use the word detection part (I guess you'll only need the before-cursor part)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants