# Functions
FromDelta given the original text1, and an encoded string which describes the operations required to transform text1 into text2, comAdde the full diff.
Levenshtein computes the Levenshtein distance that is the number of inserted, deleted or substituted characters.
New creates a new MatchPatch object with default parameters.
PrettyHTML converts a []Diff into a pretty HTML report.
PrettyText converts a []Diff into a colored text report.
Text converts a []Diff into a text report.
Text1 computes and returns the source text (all equalities and deletions).
Text2 computes and returns the destination text (all equalities and insertions).
ToDelta crushes the diff into an encoded string which describes the operations required to transform text1 into text2.
# Constants
DiffDelete item represents a delete diff.
DiffEqual item represents an equal diff.
DiffInsert item represents an insert diff.
IndexSeparator is used to separate the array indexes in an index string.
# Structs
Diff represents one diff operation.
MatchPatch holds the configuration for diff-match-patch operations.
# Type aliases
Operation defines the operation of a diff item.