|
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.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic int DiffXIndex(
List<Diff> diffs,
int loc
)
Public Function DiffXIndex (
diffs As List(Of Diff),
loc As Integer
) As Integer
public:
int DiffXIndex(
List<Diff^>^ diffs,
int loc
)
member DiffXIndex :
diffs : List<Diff> *
loc : int -> int
function DiffXIndex(diffs, loc);
View SourceParameters
- diffs ListDiff
- List of Diff objects
- loc Int32
- Location within text1
Return Value
Int32Location within text2
See Also