Get the original set of lines.
This reconstructs the $from_lines parameter passed to the constructor.
array The original sequence of strings.
Overrides Diff::orig
function orig() {
$orig = new _HWLDF_WordAccumulator();
foreach ($this->edits as $edit) {
if ($edit->type == 'copy') {
$orig
->addWords($edit->orig);
}
elseif ($edit->orig) {
$orig
->addWords($edit->orig, 'mark');
}
}
$lines = $orig
->getLines();
return $lines;
}