mmanela / diffplex

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

InlineDiffBuilder needs an overload that takes ignoreCase parameter (and probably ignoreWhitespaces, too) #34

Closed vitc2002 closed 5 years ago

vitc2002 commented 6 years ago

InlineDiffBuilder.BuildDiffModel calls into IDiffer.CreateLineDiffs(oldText, newText, true), therefore hardcoding ignoreCase parameter to a default value, which is false, and also hardcoding ignoreWhitespace to true (per call done above). An overload to BuildDiffModel is needed to pass in ignoreCase (and probably ignoreWhitespace) parameters.