Lines Matching refs:line

155             $line = $to_lines[$yi];
156 if (($this->ychanged[$yi] = empty($xhash[$line])))
158 $yhash[$line] = 1;
159 $this->yv[] = $line;
163 $line = $from_lines[$xi];
164 if (($this->xchanged[$xi] = empty($yhash[$line])))
166 $this->xv[] = $line;
269 $line = $flip ? $this->yv[$x] : $this->xv[$x];
270 if (empty($ymatches[$line]))
272 $matches = $ymatches[$line];
850 foreach ($lines as $line)
851 echo "$prefix ".$this->_escape($line)."\n";
1154 function addedLine($line,$escaped=false) { argument
1156 $line = $this->_escape($line);
1159 '<td '.HTMLDiff::css('diff-addedline').'>' . $line.'</td>';
1162 function deletedLine($line,$escaped=false) { argument
1164 $line = $this->_escape($line);
1167 '<td '.HTMLDiff::css('diff-deletedline').'>' . $line.'</td>';
1174 function contextLine($line) { argument
1176 '<td '.HTMLDiff::css('diff-context').'>'.$this->_escape($line).'</td>';
1184 foreach ($lines as $line) {
1185 print('<tr>' . $this->emptyLine() . $this->addedLine($line,$escaped) . "</tr>\n");
1190 foreach ($lines as $line) {
1191 print('<tr>' . $this->deletedLine($line) . $this->emptyLine() . "</tr>\n");
1196 foreach ($lines as $line) {
1197 print('<tr>' . $this->contextLine($line) . $this->contextLine($line) . "</tr>\n");
1206 while ($line = array_shift($del)) {
1208 … print('<tr>' . $this->deletedLine($line,true) . $this->addedLine($aline,true) . "</tr>\n");
1272 foreach ($lines as $line) {
1273 …').'>&#160;</td><td '.HTMLDiff::css('diff-addedline').'>'. $this->_escape($line) . "</td></tr>\n");
1278 foreach ($lines as $line) {
1279 …0;</td><td '.HTMLDiff::css('diff-deletedline').'><del>' . $this->_escape($line) . "</del></td></tr…
1284 foreach ($lines as $line) {
1285 …der').'>&#160;</td><td '.HTMLDiff::css('diff-context').'>'. $this->_escape($line) ."</td></tr>\n");
1293 foreach ($add as $line)
1294 … print('<tr><td '.HTMLDiff::css('diff-lineheader').'>&#160;</td><td>'.$line."</td></tr>\n");