PHP-FineDiff icon indicating copy to clipboard operation
PHP-FineDiff copied to clipboard

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

Results 21 PHP-FineDiff issues
Sort by recently updated
recently updated
newest added

I've tried to use finediff for chineese language and it does not work, should i change the encoding? or use special php function? Thank you !

How can we use FineDiff::$paragraphGranularity and FineDiff::$wordGranularity as 3rd argument in FineDiff::getDiffOpcodes() function to highlight the differences 2 times ? For example light red for deleted paragraph and dark red...

Add counter to keep track of the number of insertions and deletions. Replacements are considered 1 insertion and 1 deletion. # Example ``` php

I've noticed that in some situations using the 'word' granularity, something odd can happen. Take this work on it's own: 'Courier' If I add the words ' Delivery Boy' after...

Hello, a very good feature would be to get reverse diff opcodes. I would like to log all changes in my forum (on subject or responses). But I don't keep...

It would be great if the <del> </del> and <ins> </ins> tags can be over ridden; it would also be nice then if the function name would change to something...

Hi, I've been using your code for a while, with a more minimal change based on xrstf's utf8-compatibility patch. I'm submitting it to you, as it's a pretty great improvement...

I'm using FineDiff for a project using UTF-8, so I added basic support to it. The commit contains mb_strcspn() and mb_strspn() and a lot of reformatting, so you might only...

Currently, it takes a bit of digging to find the correct functions to use, and the following code causes an error: ``` ``` However, adding the magic `__toString()` method makes...

Currently one cannot upload an existing .diff file and let PHP-FineDiff properly parse the file and highlight the difference using some nice formatting. In my case I have two 3MB...