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

patch delta inconsistency on a 1-character insert #23

Open
GoogleCodeExporter opened this issue May 19, 2015 · 0 comments
Open

patch delta inconsistency on a 1-character insert #23

GoogleCodeExporter opened this issue May 19, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. see attached test.java
2. enable 1 set of add statements and disable the other, run it
3. enable the other set of adds and disable the ones used in 2., and run it

What is the expected output? What do you see instead?
the only change between the orig. and revised strings is the addition of 1 
character in revised.
one set of adds generates a patch with a single ChangeDelta. the other set of 
adds generate a patch with an InsertDelta on Pos. 1 and a DeleteDelta on Pos. 
2. I assume Position = line #.

What version of the product are you using? On what operating system?
1.2.1

Please provide any additional information below.


Original issue reported on code.google.com by madmarco...@gmail.com on 27 Feb 2012 at 10:45

Attachments:

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

No branches or pull requests

1 participant