mmanela / diffplex

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

can we detect moved lines? #69

Open cakmaksevgi opened 3 years ago

cakmaksevgi commented 3 years ago

We know deleted, inserted, and modified lines for now. Is there any way to understand moved lines also?

like notepad++ compare plugin

berkslv commented 3 years ago

maybe this source will helps you. https://dev.to/cloudx/how-to-color-the-moved-code-in-git-10ei

cakmaksevgi commented 3 years ago

I generate diff HTML like this library textdiff . BlazorTexdiff uses diffplex as well. I want to show moved lines as blue for example.