Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix long-standing issue of plugin affecting the undo stack #44

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

plutonium-239
Copy link
Contributor

sublimehq/sublime_text#5842

This essentially replaces the sublime.TextCommands with WindowCommands, which preserves the undo stack and no longer forces you to undo every character individually (i.e. restores sublime behavior)

Additionally I moved the ClearDecorations to the ClearCommand since it was not called in the normal command anymore.

sublimehq/sublime_text#5842

This essentially replaces the `sublime.TextCommand`s with `WindowCommands`, which preserves the undo stack and no longer forces you to undo every character individually (i.e. restores sublime behavior)

Additionally I moved the `ClearDecorations` to the `ClearCommand` since it was not called in the normal command anymore.
@plutonium-239
Copy link
Contributor Author

Fixes #37

@TerminalFi TerminalFi merged commit 0fdd604 into TerminalFi:master Feb 10, 2025
@TerminalFi
Copy link
Owner

Thank you!

@plutonium-239
Copy link
Contributor Author

You're welcome!

Do you know how long it takes for this update to show in package control?

@TerminalFi
Copy link
Owner

Next few hours now.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants