|
DiffMatchPatchDiffXIndex Method
|
loc is a location in text1, compute and return the equivalent location in
text2. e.g. "The cat" vs "The big cat", 1->1, 5->8
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
Syntaxfunction DiffXIndex(diffs, loc);
View SourceParameters
- diffs ListDiff
- List of Diff objects
- loc Int32
- Location within text1
Return Value
Int32Location within text2
See Also