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

Every color change is added to undo history #36

Open
beasteers opened this issue Nov 9, 2018 · 0 comments
Open

Every color change is added to undo history #36

beasteers opened this issue Nov 9, 2018 · 0 comments

Comments

@beasteers
Copy link

Currently, I need to hold undo for like 30 seconds to try and find the color that I had before and that's only if I can remember the hex code. It looks like atom has change grouping:

Call right before change: https://atom.io/docs/api/v1.31.2/TextBuffer#instance-createCheckpoint
Call on change I guess? Seeing as their is no changeEnd event: https://atom.io/docs/api/v1.31.2/TextBuffer#instance-groupChangesSinceCheckpoint.

If we need start and end events, maybe debouncing with a second delay could work?

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