Skip to content
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

Swipe left to delete last word #333

Open
maverick74 opened this issue Aug 1, 2023 · 5 comments
Open

Swipe left to delete last word #333

maverick74 opened this issue Aug 1, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@maverick74
Copy link

On the on-screen keyboard, it would be nice if we could swipe left on the delete button to delete the last word!

Its not an essential feature, just a nice one!

@sspanak
Copy link
Owner

sspanak commented Aug 3, 2023

This may be a bit tricky, but I think it is possible by handling MotionEvent.ACTION_MOVE in SoftKey.onTouch() then and using it in SoftBackspaceKey, possibly with a handleSwipe() function.

@sspanak sspanak added the enhancement New feature or request label Aug 3, 2023
@sspanak sspanak added this to the Popular requests 3 milestone Aug 3, 2023
@maverick74
Copy link
Author

maverick74 commented Mar 25, 2024

I've been thinking about this...

Instead of swipe maybe a Tap+LongTap (as in "holding the delete") could be easier...

And if you keep holding it, it would keep on deleting one word at a time...

@sspanak
Copy link
Owner

sspanak commented Mar 26, 2024

Swipe to delete sounds good to me, there is no need to make it more complicated. I haven't researched how to do it, though.

One more thing, deleting more than one character at a time will become easier after #170, when it will become possible to select text and cut/copy/paste/delete with a single click. The selection method itself is described in a kind of complicated way, but I think I have ideas how to make it simpler.

However, as of now, I am focused on other features. This will not be released anytime soon.

@maverick74
Copy link
Author

No pressure!

My intention is not to speed this up or something, it's just to share "way outs"
(It's also not that "you don't know what you're doing" or something like that. It's just that there are various ways to accomplish one effect and sometimes we don't remember every single one... It's my way to try to help...)

@sspanak
Copy link
Owner

sspanak commented Apr 6, 2024

No worries, I'm from the Balkans, I don't get offended for nothing. 🙂

I'm also sharing my opinion. I've seen the swipe-to-delete function in other keyboards, so I think it is intuitive and relatively easy to do. For this reason, I like it better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants