CodeExplorer _endDiff example
if ($edit->final
) { $yi +=
count($edit->final
);
} } if (is_array($block)) { $output .=
$this->
_block($x0,
$xi -
$x0,
$y0,
$yi -
$y0,
$block);
} return $output .
$this->
_endDiff();
} function _block($xbeg,
$xlen,
$ybeg,
$ylen, &
$edits) { $output =
$this->
_startBlock($this->
_blockHeader($xbeg,
$xlen,
$ybeg,
$ylen));
foreach ($edits as $edit) { switch (strtolower(get_class($edit))) { case 'text_diff_op_copy':
$output .=
$this->
_context($edit->orig
);
break;