Text_Diff_Op::reverse
Text_MappedDiff::Text_MappedDiff
PHP4 constructor.
Text_MappedDiff::__construct
Computes a diff between sequences of strings.
Advertisement
Text_Diff::_check
Checks a diff for validity.
Text_Diff::_getTempDir
Determines the location of the system temporary directory.
Text_Diff::trimNewlines
Removes trailing newlines from a line of text. This is meant to be used with array_walk().
Text_Diff::getFinal
Gets the final set of lines.
Advertisement
Text_Diff::getOriginal
Gets the original set of lines.
Text_Diff::lcs
Computes the length of the Longest Common Subsequence (LCS).
Text_Diff::isEmpty
Checks for an empty diff.
Text_Diff::reverse
Computes a reversed diff.
Advertisement
Text_Diff::countDeletedLines
Returns the number of deleted (removed) lines in a given diff.
Text_Diff::countAddedLines
returns the number of new (added) lines in a given diff.
Text_Diff::getDiff
Returns the array of differences.