A formatter that outputs unified diffs.
More...
|
| added ($lines) |
|
| blockHeader ($xbeg, $xlen, $ybeg, $ylen) |
|
| changed ($orig, $closing) |
|
| deleted ($lines) |
|
| lines ($lines, $prefix= ' ') |
|
| added ($lines) |
|
| block ($xbeg, $xlen, $ybeg, $ylen, &$edits) |
|
| blockHeader ($xbeg, $xlen, $ybeg, $ylen) |
|
| changed ($orig, $closing) |
| Writes the two sets of lines to the output buffer, separated by "---" and a newline. More...
|
|
| context ($lines) |
|
| deleted ($lines) |
|
| endBlock () |
| Called at the end of a block of connected edits. More...
|
|
| endDiff () |
|
| lines ($lines, $prefix= ' ') |
| Writes all (optionally prefixed) lines to the output buffer, separated by newlines. More...
|
|
| startBlock ($header) |
| Called at the start of a block of connected edits. More...
|
|
| startDiff () |
|
| writeOutput ($text) |
| Writes a string to the output buffer. More...
|
|
A formatter that outputs unified diffs.
Definition at line 31 of file UnifiedDiffFormatter.php.
UnifiedDiffFormatter::added |
( |
|
$lines | ) |
|
|
protected |
UnifiedDiffFormatter::blockHeader |
( |
|
$xbeg, |
|
|
|
$xlen, |
|
|
|
$ybeg, |
|
|
|
$ylen |
|
) |
| |
|
protected |
UnifiedDiffFormatter::changed |
( |
|
$orig, |
|
|
|
$closing |
|
) |
| |
|
protected |
UnifiedDiffFormatter::deleted |
( |
|
$lines | ) |
|
|
protected |
UnifiedDiffFormatter::lines |
( |
|
$lines, |
|
|
|
$prefix = ' ' |
|
) |
| |
|
protected |
int UnifiedDiffFormatter::$leadingContextLines = 2 |
|
protected |
int UnifiedDiffFormatter::$trailingContextLines = 2 |
|
protected |
The documentation for this class was generated from the following file: