"Inline" diff renderer.
This class renders diffs in the Wiki-style "inline" format.
| author | Ciprian Popovici |
|---|---|
| package | Text_Diff |
| inherited_from | \Text_Diff_Renderer |
Text_Diff_Renderer($params = array())
__construct($params = array())
_added($lines)
| inherited_from | \Text_Diff_Renderer::_added() |
|---|
_added($lines)
_block($xbeg, $xlen, $ybeg, $ylen, $edits)
_blockHeader($xbeg, $xlen, $ybeg, $ylen)
| inherited_from | \Text_Diff_Renderer::_blockHeader() |
|---|
_blockHeader($xbeg, $xlen, $ybeg, $ylen)
_changed($orig, $final)
| inherited_from | \Text_Diff_Renderer::_changed() |
|---|
_changed($orig, $final)
_context($lines)
_deleted($lines, $words = false)
| inherited_from | \Text_Diff_Renderer::_deleted() |
|---|
_deleted($lines)
_encode($string)
_endBlock()
_endDiff()
_lines($lines, $prefix= ' ', $encode= true)
| inherited_from | \Text_Diff_Renderer::_lines() |
|---|
_lines($lines, $prefix = ' ')
_splitOnWords($string, $newlineEscape = "\n")
_startBlock($header)
| inherited_from | \Text_Diff_Renderer::_startBlock() |
|---|
_startBlock($header)
_startDiff()
getParams() : array
arrayAll parameters of this renderer object.render(\Text_Diff $diff) : string
\Text_DiffA Text_Diff object.
stringThe formatted output.$_block_header : string
''$_del_prefix : string
''$_del_suffix : string
''$_ins_prefix : string
''$_ins_suffix : string
''$_leading_context_lines : integer
10000This should be left at zero for this class, but subclasses may want to set this to other values.
| inherited_from | \Text_Diff_Renderer::_leading_context_lines |
|---|
$_leading_context_lines
0This should be left at zero for this class, but subclasses may want to set this to other values.
$_split_characters : boolean
false$_split_level : string
'lines'$_trailing_context_lines : integer
10000This should be left at zero for this class, but subclasses may want to set this to other values.
| inherited_from | \Text_Diff_Renderer::_trailing_context_lines |
|---|
$_trailing_context_lines
0This should be left at zero for this class, but subclasses may want to set this to other values.