-
Notifications
You must be signed in to change notification settings - Fork 510
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
A new state "replace" #8
Comments
Could you provide some details on what this would do? I'm not sure how this concept to integrate with unified diffs, etc. |
Thanks for your concern. If it is not clear enough, the output of myersdiff.py maybe helpful. Take the previous example. The outputs of myersdiff.py are [('equal', 0, 2, 0, 2), ('replace', 2, 3, 2, 3)]. To print this result, please download the python file by the link in my first post. Paste the two line codes below at the bottom of the file myersdiff.py. Please make sure there is no leading space in the two additional line. differ = MyersDiffer("aab", "aac") |
👍 |
Wonder why closed? :) |
This is a feature request rather than a issue. A new state "replace" is require.
See https://github.com/reviewboard/reviewboard/blob/master/reviewboard/diffviewer/myersdiff.py#L123
The text was updated successfully, but these errors were encountered: