CADbloke / google-diff-match-patch

Automatically exported from code.google.com/p/google-diff-match-patch
Apache License 2.0
2 stars 4 forks source link

Update / delete combination gives wrong result (diff method) #107

Closed ddhaeyere closed 8 years ago

ddhaeyere commented 8 years ago

Take two text files to compare.

The first one being the original, the second one the file to compare with the first one. suppose the first file has 20 lines of text

In the second file: remove line 10 and edit the new line 10 (which was before line 11).

The result is that you only see an update. The delete is not mentioned.

It is not clear to state which line (original 10th line or original 11th line) is changed and which one is deleted. But since there is one line less in the new file, there should be an indication of a delete.

CADbloke commented 8 years ago

Hiya, I cloned this from Google Code so it wouldn't be lost in the mists of time. I'm not the owner.

Also,

https://www.google.com.au/search?safe=active&q=how+to+good+bug+report

Please, I mean no offense but I can't do anything with that information. Also, unless it's the C# version, I probably can't help you because that's the only one I use.