![]() |
Diff
|
The DiffMatchPatch type exposes the following members.
Name | Description | |
---|---|---|
![]() |
DiffEditCost | Cost of an empty edit operation in terms of edit characters. |
![]() |
DiffTimeout | Number of seconds to map a diff before giving up (0 for infinity). |
![]() |
MatchDistance | How far to search for a match (0 = exact location, 1000+ = broad match). A match this many characters away from the expected location will add 1.0 to the score (0.0 is a perfect match). |
![]() |
MatchThreshold | At what point is no match declared (0.0 = perfection, 1.0 = very loose). |
![]() |
PatchDeleteThreshold | When deleting a large block of text (over ~64 characters), how close do the contents have to be to match the expected contents. (0.0 = perfection, 1.0 = very loose). Note that MatchThreshold controls how closely the end points of a delete need to match. |
![]() |
PatchMargin | Chunk size for context length. |