php-diff
php-diff copied to clipboard
Want to see the whole file
When looking at the Side by Side diff, it shows me something like:
1 2 3 4 5 6 … 54 55 56
You can see it "compacted" something with those three dots (...). How can I fix it so I would see the whole file?
The library itself works great! I tested another PHP diff library and it didn't respect the TABs in the output.
I too would like this feature. It would be great to output the whole file and not 'skip' it using the ellipsis.
Yes, i even would like this feature. I think it should be a basic feature. ;) Sad to see that the project seems not to be updated anymore.
Hi! I need the same, this is not a feature.
mfg Andi
This feature is greatly needed.
Checking the code it seems this is doable by just putting a really large value with key 'context' in the options array. $options = array( //'ignoreWhitespace' => true, //'ignoreCase' => true, 'context'=>9999999999, );
'context'=>9999999999, not work. are you sure? @angulion
'context'=>9999999999 does work, you've got to set this in Diff.php's $defaultOptions.
Thanks for the tip, it helped.