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

How to get list of additions, removals, and commonalities from two texts? #2

Open
seaneagan opened this issue Oct 3, 2014 · 2 comments
Labels

Comments

@seaneagan
Copy link
Member

I'm trying to do something like the color demos from:

https://github.com/kpdecker/jsdiff

Basically I need to get an API which returns a List of parts, where each part exposes its text content and whether it was an addition, removal, or commonality. Is that already possible with this package?

@seaneagan
Copy link
Member Author

@financecoding

@adam-singer
Copy link
Member

hi, sorry been super busy. where you able to find what your looking for? I think what your looking for is diffIndices function

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

No branches or pull requests

2 participants