nightkr / flickboard

Flicking keyboard for Android
GNU Affero General Public License v3.0
107 stars 20 forks source link

Add undo functionality (like in Thumb-Key) #158

Open tanjeff opened 3 months ago

tanjeff commented 3 months ago

Context

I switched from MessageEase to Thumb-Key some time ago, but was missing the "drawing a circle" and "slide back-and-forth" gestures. Now I switched from Thumb-Key to Flickboard, which provides these.

Describe your suggested feature

I miss the undo-functionality found in Thumb-Key. This is very handy when accidentally deleting too much text. It's not a show-stopper, though.

Other details

No response

Acknowledgements

nightkr commented 2 months ago

This already exists.. sort of.

Now that ctrl actions finally work, you can type ctrl+z to use the text editor's native undo, or ctrl+shift+z for redo.

It actually looks like this is what thumb-key does too, behind the scenes (https://github.com/dessalines/thumb-key/blob/1514e64ae093c558389f6708ec672d2ab35ae6fc/app/src/main/java/com/dessalines/thumbkey/utils/Utils.kt#L899-L916).

tanjeff commented 2 months ago

Cool, I didn't realize that. I still vote for a dedicated undo-gesture, but that's a matter of taste.