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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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