-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete whole word #398
Comments
I can't really tell what's going on because that gif is really long. Could you either create a shorter gif or write how to re-create this? |
https://github.com/dessalines/thumb-key/assets/10968473/38029d27-3fb9-4c3c-b4b2-f913a162e715 |
I can't verify this, its probably an issue with an incorrect rebasing. You'll need to test with this codebase. |
screen-20230910-102640.mp4 |
We're on |
@dessalines To answer your first comment, I paste the link by mistake in a text instead of the broxsers adress bar. When I tried to get rid of by word delete swipe I noted this unexpected behavior. |
It's nothing to do with the paste key. There seems to be a limit of how far the backspace key will delete. This is the max word size we can delete properly: Now if we add any extra letters to the end of that, the string will leave a few letters at the start. Steps to reproduce: Example 2: Example 3: EDIT: Just tested, the bug is in the current git version. |
Found the bug + potential fix
As you can see the limit is hardcoded as 100 characters, so we could fix it by changing it to 9999. This seems to be the best solution so far. There's another solution on stack overflow, but it's not great... https://stackoverflow.com/questions/7440269/better-way-to-get-all-the-text-in-an-edittext-from-an-inputconnection
|
Ah okay, yeah that seems simple enough. |
Thumb-Key Version
1.14
Describe the bug
Dosnt work as expected.
To Reproduce
Steps to reproduce the behavior:
Seems the IMO expected logic (delete everything, from cursor to the left, including the first {group} of whitespaces) is not applied here?
The text was updated successfully, but these errors were encountered: