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

Add function-based AstEditor.edit method #598

Merged
merged 3 commits into from
May 24, 2022

Conversation

TwitchBronBron
Copy link
Member

Adds an AstEditor.edit method that allows plugin authors to run a function to apply, and another function to undo. This allows for things like calling methods on objects rather than directly manipulating arrays or properties.

@TwitchBronBron TwitchBronBron merged commit 9b79463 into master May 24, 2022
@TwitchBronBron TwitchBronBron deleted the feat/AstEditor-generic-edit branch May 24, 2022 14:04
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

Successfully merging this pull request may close these issues.

1 participant