WPDev.one
Core Class

Text_Diff_Engine_native

class Text_Diff_Engine_native // Constructor: function Object() { [native code] }

Class used internally by Text_Diff to actually compute the diffs.

Methods 5 methods

Method / Return Description
diff()
void

No description available.

Parameters: $from_lines: mixed, $to_lines: mixed
_diag()
void

Divides the Largest Common Subsequence (LCS) of the sequences (XOFF,

Parameters: $xoff: mixed, $xlim: mixed, $yoff: mixed, $ylim: mixed, $nchunks: mixed
_lcsPos()
void

No description available.

Parameters: $ypos: mixed
_compareseq()
void

Finds LCS of two sequences.

Parameters: $xoff: mixed, $xlim: mixed, $yoff: mixed, $ylim: mixed
_shiftBoundaries()
void

Adjusts inserts/deletes of identical lines to join changes as much as

Parameters: $lines: mixed, $changed: mixed, $other_changed: mixed

Properties

Property / Type Description
$xchanged
mixed
public
No description available.
$ychanged
mixed
public
No description available.
$xv
mixed
public
No description available.
$yv
mixed
public
No description available.
$xind
mixed
public
No description available.
$yind
mixed
public
No description available.
$seq
mixed
public
No description available.
$in_seq
mixed
public
No description available.
$lcs
mixed
public
No description available.

Class Information

Source File
wp-includes/Text/Diff/Engine/native.php
Advertisement