Click or drag to resize

DiffMatchPatchDiffFromDelta Method

Given the original text1, and an encoded string which describes the operations required to transform text1 into text2, compute the full diff.

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntax
public List<Diff> DiffFromDelta(
	string text1,
	string delta
)
View Source

Parameters

text1  String
Source string for the diff
delta  String
Delta text

Return Value

ListDiff
Array of Diff objects or null if invalid
Exceptions
ExceptionCondition
ArgumentExceptionIf invalid input
See Also