You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS: Nonexistenet lines in SideBySide are shown as stripes.
This change also reverts "Merge SideBySide insert/delete/equal columns when lineNumbers is false."
since stripes are quite distinguishable. And it's more consistent to most diff softwares.
Add a new constant: Differ::CONTEXT_ALL, which can be used for the context differ option
to show the whole source text in the output diff. (#8)
It's just a large integer without possible overflow during calculation.
Allow rendering HTML result with the JSON result. (#17)
// use the JSON result to render in HTML$jsonResult = DiffHelper::calculate($old, $new, 'Json'); // may store the JSON result in your Database$htmlRenderer = RendererFactory::make('Inline');
$result = $htmlRenderer->renderArray(json_decode($jsonResult, true));