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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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