Chris@0: edits); $i++) { Chris@0: $orig = &$this->edits[$i]->orig; Chris@0: if (is_array($orig)) { Chris@0: $orig = array_slice($from_lines, $xi, sizeof($orig)); Chris@0: $xi += sizeof($orig); Chris@0: } Chris@0: Chris@0: $closing = &$this->edits[$i]->closing; Chris@0: if (is_array($closing)) { Chris@0: $closing = array_slice($to_lines, $yi, sizeof($closing)); Chris@0: $yi += sizeof($closing); Chris@0: } Chris@0: } Chris@0: } Chris@0: Chris@0: }