Lines Matching defs:edits
173 // Merge edits when possible
178 $edits = array();
191 $edits[] = new _DiffOp_Copy($copy);
203 $edits[] = new _DiffOp_Change($delete, $add);
205 $edits[] = new _DiffOp_Delete($delete);
207 $edits[] = new _DiffOp_Add($add);
209 return $edits;
521 var $edits;
533 $this->edits = $eng->diff($from_lines, $to_lines);
550 $rev->edits = array();
551 foreach ($this->edits as $edit) {
552 $rev->edits[] = $edit->reverse();
563 foreach ($this->edits as $edit) {
579 foreach ($this->edits as $edit) {
597 foreach ($this->edits as $edit) {
615 foreach ($this->edits as $edit) {
643 foreach ($this->edits as $edit) {
689 $ecnt = count($this->edits);
691 $orig = &$this->edits[$i]->orig;
697 $closing = &$this->edits[$i]->closing;
748 foreach ($diff->edits as $edit) {
794 * @param array $edits
796 function _block($xbeg, $xlen, $ybeg, $ylen, &$edits) {
798 foreach ($edits as $edit) {
1024 foreach ($this->edits as $edit) {
1036 foreach ($this->edits as $edit) {
1065 foreach ($this->edits as $edit) {
1379 $edits = array();
1390 $edits[] = $edit;
1395 $edits[] = new _Diff3_Op_copy(array_slice($e1->orig, 0, $ncopy));
1440 $edits[] = $edit;
1443 return $edits;