-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Let features know about undo batch #2722
Comments
So after F2F talks with @scofalik we came to a conclusion that adding a batch type "undo" makes sense:
At the moment I see that
//cc @pjasiun |
I'm fine with marking "undo" and "redo" batches as "undo" with a special flag. |
@pjasiun: To be precise: |
After F2F talk we agreed that we can try to mark these baches as transparent. |
Other: Use transparent batches in undo & redo commands. Closes #97.
So I have an issue with undoing automatic text transformations. Scenario:
Now the feature does not know if that
"data:change"
event is for undoing batch. I can listen to undo command execution and filter out those batches but it looks like we could add another type of batch?This is rather open discussion as I only know about:
default
andtransparent
type of batches ATM.The text was updated successfully, but these errors were encountered: