Group similar operations together in the undo stack #422

Open
opened 2024-03-04 11:37:53 -06:00 by MartinGC94 · 0 comments
MartinGC94 commented 2024-03-04 11:37:53 -06:00 (Migrated from github.com)

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.

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 in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#422
No description provided.