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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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