_second_block = "--- $ybeg ----\n";
return "***************\n*** $xbeg ****";
}
function _endBlock()
{
return $this->_second_block;
}
function _context($lines)
{
$this->_second_block .= $this->_lines($lines, ' ');
return $this->_lines($lines, ' ');
}
function _added($lines)
{
$this->_second_block .= $this->_lines($lines, '+ ');
return '';
}
function _deleted($lines)
{
return $this->_lines($lines, '- ');
}
function _changed($orig, $final)
{
$this->_second_block .= $this->_lines($final, '! ');
return $this->_lines($orig, '! ');
}
}
WebSVN
- websvn
- Blame
- Rev 6
- /lib/pear/Text/Diff/Renderer/context.php
websvn |
Subversion Repositories: |
[/] [lib/] [pear/] [Text/] [Diff/] [Renderer/] [context.php] - Blame information for rev 6
Powered by WebSVN 2.2.1