Public Member Functions | |
format ($diff) | |
_block ($xbeg, $xlen, $ybeg, $ylen, &$edits) | |
_start_diff () | |
_end_diff () | |
_block_header ($xbeg, $xlen, $ybeg, $ylen) | |
_start_block ($header) | |
_end_block () | |
_lines ($lines, $prefix= ' ') | |
_context ($lines) | |
_added ($lines) | |
_deleted ($lines) | |
_changed ($orig, $closing) | |
Public Attributes | |
$leading_context_lines = 0 | |
$trailing_context_lines = 0 |
This class formats the diff in classic diff format. It is intended that this class be customized via inheritance, to obtain fancier outputs.
Definition at line 861 of file DifferenceEngine.php.
|
Definition at line 993 of file DifferenceEngine.php. References _added(). |
|
Definition at line 941 of file DifferenceEngine.php. References _added(), _block(), _changed(), _context(), _deleted(), _end_block(), and _start_block(). |
|
Definition at line 968 of file DifferenceEngine.php. References _block_header(). Referenced by _block_header(). |
|
Definition at line 1000 of file DifferenceEngine.php. References _changed(). Referenced by _block(), and _changed(). |
|
Definition at line 989 of file DifferenceEngine.php. References _context(). Referenced by _block(), and _context(). |
|
Definition at line 996 of file DifferenceEngine.php. References _deleted(). Referenced by _block(), and _deleted(). |
|
Definition at line 981 of file DifferenceEngine.php. Referenced by _block(). |
|
Definition at line 962 of file DifferenceEngine.php. Referenced by format(). |
|
Definition at line 984 of file DifferenceEngine.php. References _lines(). Referenced by _lines(). |
|
Definition at line 977 of file DifferenceEngine.php. References _start_block(). Referenced by _block(), and _start_block(). |
|
Definition at line 958 of file DifferenceEngine.php. Referenced by format(). |
|
Format a diff.
Definition at line 885 of file DifferenceEngine.php. References _block(), _end_diff(), _start_diff(), and format(). Referenced by format(). |
|
Number of leading context "lines" to preserve. This should be left at zero for this class, but subclasses may want to set this to other values. Definition at line 869 of file DifferenceEngine.php. |
|
Number of trailing context "lines" to preserve. This should be left at zero for this class, but subclasses may want to set this to other values. Definition at line 877 of file DifferenceEngine.php. |