mmanela / diffplex

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

Wrong side by side comparison #15

Closed MrStepson closed 7 years ago

MrStepson commented 8 years ago

It seems there are few issues with word-breaks processing (tested with side-by-side web UI):

  1. Compare “Hello,·World!“ with “Hello!” – whole “old text” (“Hello,·World!”) is marked as Deleted. But actually “Hello” should be marked as “Unchanged”, “,·World” as deleted and “!” as Unchanged.
  2. Compare “Hello,·World!“ with “Hi, Wordl!” – “Hello,” is marked as Modified (comma included), but whould be better if only “Hello” is marked “Modified” and “, World” unchanged.
riyadparvez commented 7 years ago

Yes. This bug is still there.

mmanela commented 7 years ago

I have a fix for this. Will get it out soon.

mmanela commented 7 years ago

Released on 1.4