mmanela / diffplex

DiffPlex is Netstandard 1.0+ C# library to generate textual diffs.
Apache License 2.0
996 stars 183 forks source link

Question: What does ChangeType.Imaginary means? #63

Closed bessgeor closed 4 years ago

bessgeor commented 4 years ago

As in subject. Deleted, Inserted, Modified and Unchanged are pretty intuitive, but I can't get what does ChangeType.Imaginary means i.e. in what cases line change is "Imaginary"?

mmanela commented 4 years ago

It represents the grey "imaginary" lines on the left side of this image. Basically, there isn't a change on the left doc, but the space is added to match to the right. image

bessgeor commented 4 years ago

Thanks, that makes sense