As you can in the source , Horde simply adds a prefix to the lines in which he sees the differences.
For example, for the added row, it will use:
protected function _added($lines) {
return $this->_lines($lines, '> ');
}
So, you can change this class to add everything you need here, or, better, you can override it with your class, changing only those methods that you need to change, leaving it unchanged.
source
share