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";
1166 function addedLine($line,$escaped=false) { argument
1168 $line = $this->_escape($line);
1171 '<td '.HTMLDiff::css('diff-addedline').'>' . $line.'</td>';
1174 function deletedLine($line,$escaped=false) { argument
1176 $line = $this->_escape($line);
1179 '<td '.HTMLDiff::css('diff-deletedline').'>' . $line.'</td>';
1186 function contextLine($line) { argument
1188 '<td '.HTMLDiff::css('diff-context').'>'.$this->_escape($line).'</td>';
1196 foreach ($lines as $line) {
1197 print('<tr>' . $this->emptyLine() . $this->addedLine($line,$escaped) . "</tr>\n");
1202 foreach ($lines as $line) {
1203 print('<tr>' . $this->deletedLine($line) . $this->emptyLine() . "</tr>\n");
1208 foreach ($lines as $line) {
1209 print('<tr>' . $this->contextLine($line) . $this->contextLine($line) . "</tr>\n");
1218 while ($line = array_shift($del)) {
1220 … print('<tr>' . $this->deletedLine($line,true) . $this->addedLine($aline,true) . "</tr>\n");
1284 foreach ($lines as $line) {
1285 …').'>&#160;</td><td '.HTMLDiff::css('diff-addedline').'>'. $this->_escape($line) . "</td></tr>\n");
1290 foreach ($lines as $line) {
1291 …0;</td><td '.HTMLDiff::css('diff-deletedline').'><del>' . $this->_escape($line) . "</del></td></tr…
1296 foreach ($lines as $line) {
1297 …der').'>&#160;</td><td '.HTMLDiff::css('diff-context').'>'. $this->_escape($line) ."</td></tr>\n");
1305 foreach ($add as $line)
1306 … print('<tr><td '.HTMLDiff::css('diff-lineheader').'>&#160;</td><td>'.$line."</td></tr>\n");