function _changed($orig, $closing)
 {
     $diff = new InlineWordLevelDiff($orig, $closing);
     // this escapes the diff data
     $add = $diff->inline();
     foreach ($add as $line) {
         print '<tr><td ' . HTMLDiff::css('diff-lineheader') . '>&#160;</td><td>' . $line . "</td></tr>\n";
     }
 }
Example #2
0
 function _context($lines)
 {
     foreach ($lines as $line) {
         print '<tr><td colspan="' . $this->colspan . '" ' . HTMLDiff::css('diff-context') . '>' . $line . "</td></tr>\n";
     }
 }