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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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