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

Group similar operations together in the undo stack #422

Open
MartinGC94 opened this issue Mar 4, 2024 · 0 comments
Open

Group similar operations together in the undo stack #422

MartinGC94 opened this issue Mar 4, 2024 · 0 comments

Comments

@MartinGC94
Copy link

Each individual keystroke entered is registered as one action in the undo stack so if I type in a word like "Get" I need to press undo 3 times to undo this action (once for each letter).
It would be nicer if I could undo individual segments, like entire words. The easiest way to recognize individual segments would probably be to keep track of the recent inputs and commit them as a group to the undo stack when the next character is whitespace, newline, etc. or if the cursor is moved.

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

No branches or pull requests

1 participant