gorhill / PHP-FineDiff

A PHP implementation of a Fine granularity Diff engine: Diff can be computed up to character-level

Home Page:http://www.raymondhill.net/finediff/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not work proper for line with similar text inside

yaroslavbr opened this issue · comments

I have 3 old lines, added new line(with same content), but the third is higlighted as inserted. Here is a screen - https://nimbus.everhelper.me/client/notes/share/311615/QKmbn2gGxTeyZwQPANXSIyPc35rd4bAX/

It works fine, it does what it is expected to do: create a sequence of diff ops which allow to rebuild previous text into new text.

oh, I see... Seems I did not fully understand the purpose of the library. And when I applied into my project I got wrong results. This was my fault. Accept my apologies for concern.