Lines Matching refs:from_lines
28 * @param array $from_lines lines of text from old file
33 public function diff($from_lines, $to_lines) argument
35 array_walk($from_lines, array('Horde_Text_Diff', 'trimNewlines'));
42 fwrite($fp, implode("\n", $from_lines));
53 return array(new Horde_Text_Diff_Op_Copy($from_lines));
86 $this->_getLines($from_lines, $from_line_no, $match[1] - 1),
95 $this->_getLines($from_lines, $from_line_no, $match[2]));
103 $this->_getLines($from_lines, $from_line_no, $match[2]),
117 if (!empty($from_lines)) {
121 $this->_getLines($from_lines, $from_line_no,
122 $from_line_no + count($from_lines) - 1),