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

Support non-contiguous edits (for deletions) #25

Open
ethan-leba opened this issue Nov 9, 2021 · 0 comments
Open

Support non-contiguous edits (for deletions) #25

ethan-leba opened this issue Nov 9, 2021 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@ethan-leba
Copy link
Owner

Currently the tree-edit syntax generation and rendering relies on the
assumption that all modifications of the syntax tree would operate on a
contiguous region (adjacent siblings).

For example, if we have ("(" identifier "," comment [identifier]) and perform
a deletion, we'd like the result to be ("(" identifier comment), and the
comment should be left unmodified.

Related to #18

@ethan-leba ethan-leba added bug Something isn't working enhancement New feature or request labels Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant