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

No insert points? #384

Open
jbellis opened this issue Mar 13, 2025 · 1 comment
Open

No insert points? #384

jbellis opened this issue Mar 13, 2025 · 1 comment

Comments

@jbellis
Copy link

jbellis commented Mar 13, 2025

Image

I'm trying to make a Meld-style visualization with gumtree, it kind of works but not having insert points is painful. Is there a way to compute this that I missed?

@jrfaller
Copy link
Member

Hi,

Very interesting GUI this is nice!

What you are looking for is where exactly an insertion (resp. deletion) is happening in the source text right?

Normally when you have an insert action there is an associated Tree object (https://github.com/GumTreeDiff/gumtree/blob/main/core/src/main/java/com/github/gumtreediff/actions/model/TreeInsert.java) so it would enable you to gather the location of this Tree in the associated source text. However this might not be sufficient for what you envision?

Cheers!

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

2 participants