protected void |
DiffMatchPatch.diff_charsToLines(List<DiffMatchPatch.Diff> diffs,
List<String> lineArray) |
Rehydrate the text in a diff from a string of line hashes to real lines of
text.
|
void |
DiffMatchPatch.diff_cleanupEfficiency(LinkedList<DiffMatchPatch.Diff> diffs) |
Reduce the number of edits by eliminating operationally trivial equalities.
|
void |
DiffMatchPatch.diff_cleanupMerge(LinkedList<DiffMatchPatch.Diff> diffs) |
Reorder and merge like edit sections.
|
void |
DiffMatchPatch.diff_cleanupSemantic(LinkedList<DiffMatchPatch.Diff> diffs) |
Reduce the number of edits by eliminating semantically trivial equalities.
|
void |
DiffMatchPatch.diff_cleanupSemanticLossless(LinkedList<DiffMatchPatch.Diff> diffs) |
Look for single edits surrounded on both sides by equalities
which can be shifted sideways to align the edit to a word boundary.
|
int |
DiffMatchPatch.diff_levenshtein(List<DiffMatchPatch.Diff> diffs) |
Compute the Levenshtein distance; the number of inserted, deleted or
substituted characters.
|
String |
DiffMatchPatch.diff_prettyHtml(List<DiffMatchPatch.Diff> diffs) |
Convert a Diff list into a pretty HTML report.
|
String |
DiffMatchPatch.diff_text1(List<DiffMatchPatch.Diff> diffs) |
Compute and return the source text (all equalities and deletions).
|
String |
DiffMatchPatch.diff_text2(List<DiffMatchPatch.Diff> diffs) |
Compute and return the destination text (all equalities and insertions).
|
String |
DiffMatchPatch.diff_toDelta(List<DiffMatchPatch.Diff> diffs) |
Crush the diff into an encoded string which describes the operations
required to transform text1 into text2.
|
int |
DiffMatchPatch.diff_xIndex(List<DiffMatchPatch.Diff> diffs,
int loc) |
loc is a location in text1, compute and return the equivalent location in
text2.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_make(String text1,
String text2,
LinkedList<DiffMatchPatch.Diff> diffs) |
Deprecated.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_make(String text1,
LinkedList<DiffMatchPatch.Diff> diffs) |
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_make(LinkedList<DiffMatchPatch.Diff> diffs) |
Compute a list of patches to turn text1 into text2.
|