Property | Type | Description | |
---|---|---|---|
$_block_header | string | Header for each change block. | |
$_del_prefix | string | Prefix for deleted text. | |
$_del_suffix | string | Suffix for deleted text. | |
$_ins_prefix | string | Prefix for inserted text. | |
$_ins_suffix | string | Suffix for inserted text. | |
$_leading_context_lines | integer | Number of leading context "lines" to preserve. | |
$_split_characters | boolean | Whether to split down to character-level. | |
$_split_level | string | What are we currently splitting on? Used to recurse to show word-level or character-level changes. | |
$_trailing_context_lines | integer | Number of trailing context "lines" to preserve. |
Method | Description | |
---|---|---|
_added ( $lines ) | ||
_blockHeader ( $xbeg, $xlen, $ybeg, $ylen ) | ||
_changed ( $orig, $final ) | ||
_deleted ( $lines, $words = false ) | ||
_encode ( &$string ) | ||
_lines ( $lines, $prefix = ' ', $encode = true ) | ||
_splitOnWords ( $string, $newlineEscape = " " ) | ||
_startBlock ( $header ) |
protected string $_block_header | ||
return | string |
protected string $_del_prefix | ||
return | string |
protected string $_del_suffix | ||
return | string |
protected string $_ins_prefix | ||
return | string |
protected string $_ins_suffix | ||
return | string |
protected int $_leading_context_lines | ||
return | integer |
protected bool $_split_characters | ||
return | boolean |
protected string $_split_level | ||
return | string |
protected int $_trailing_context_lines | ||
return | integer |