Lines Matching refs:edit
66 foreach ($this->_edits as $edit) {
67 if ($edit instanceof Horde_Text_Diff_Op_Add ||
68 $edit instanceof Horde_Text_Diff_Op_Change) {
69 $count += $edit->nfinal();
83 foreach ($this->_edits as $edit) {
84 if ($edit instanceof Horde_Text_Diff_Op_Delete ||
85 $edit instanceof Horde_Text_Diff_Op_Change) {
86 $count += $edit->norig();
114 foreach ($this->_edits as $edit) {
115 $rev->_edits[] = $edit->reverse();
127 foreach ($this->_edits as $edit) {
128 if (!($edit instanceof Horde_Text_Diff_Op_Copy)) {
145 foreach ($this->_edits as $edit) {
146 if ($edit instanceof Horde_Text_Diff_Op_Copy) {
147 $lcs += count($edit->orig);
163 foreach ($this->_edits as $edit) {
164 if ($edit->orig) {
165 array_splice($lines, count($lines), 0, $edit->orig);
181 foreach ($this->_edits as $edit) {
182 if ($edit->final) {
183 array_splice($lines, count($lines), 0, $edit->final);
224 foreach ($this->_edits as $edit) {
225 if ($prevtype == get_class($edit)) {
228 $prevtype = get_class($edit);