Lines Matching refs:closing

15     var $closing;  variable in _DiffOp
29 return $this->closing ? count($this->closing) : 0;
36 function __construct($orig, $closing = false) { argument
37 if (!is_array($closing))
38 $closing = $orig;
40 $this->closing = $closing;
44 return new _DiffOp_Copy($this->closing, $this->orig);
53 $this->closing = false;
65 $this->closing = $lines;
70 return new _DiffOp_Delete($this->closing);
77 function __construct($orig, $closing) { argument
79 $this->closing = $closing;
83 return new _DiffOp_Change($this->closing, $this->orig);
612 function closing() { function in Diff
616 if ($edit->closing)
617 array_splice($lines, count($lines), 0, $edit->closing);
633 if (serialize($to_lines) != serialize($this->closing()))
639 if (serialize($from_lines) != serialize($rev->closing()))
697 $closing = &$this->edits[$i]->closing;
698 if (is_array($closing)) {
699 $closing = array_slice($to_lines, $yi, count($closing));
700 $yi += count($closing);
779 if ($edit->closing)
780 $yi += count($edit->closing);
802 $this->_added($edit->closing);
806 $this->_changed($edit->orig, $edit->closing);
865 function _changed($orig, $closing) { argument
868 $this->_added($closing);
1021 function closing() { function in WordLevelDiff
1022 $closing = new _HWLDF_WordAccumulator;
1026 $closing->addWords($edit->closing);
1027 elseif ($edit->closing)
1028 $closing->addWords($edit->closing, 'mark');
1030 return $closing->getLines();
1055 $orig->addWords($edit->closing);
1058 $orig->addWords($edit->closing, 'add');
1062 $orig->addWords($edit->closing, 'add');
1201 function _changed($orig, $closing) { argument
1202 $diff = new WordLevelDiff($orig, $closing); // this escapes the diff data
1204 $add = $diff->closing();
1289 function _changed($orig, $closing) { argument
1290 $diff = new InlineWordLevelDiff($orig, $closing); // this escapes the diff data
1387 array_splice($e1->closing, 0, $ncopy);
1394 array_splice($e2->closing, 0, $ncopy);
1408 $bb->out1(array_splice($e1->closing, 0, $norig));
1412 $bb->out2(array_splice($e2->closing, 0, $norig));
1417 $bb->out1($e1->closing);
1421 $bb->out2($e2->closing);