Click or drag to resize

DiffMatchPatchPatchMake(String, String, ListDiff) Method

Note: This API is now obsolete.

Compute a list of patches to turn text1 into text2. text2 is ignored, diffs are the delta between text1 and text2.

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
[ObsoleteAttribute("Prefer PatchMake(string text1, List<Diff> diffs).")]
public List<Patch> PatchMake(
	string text1,
	string text2,
	List<Diff> diffs
)
View Source

Parameters

text1  String
Old text
text2  String
Ignored
diffs  ListDiff
Array of Diff objects for text1 to text2

Return Value

ListPatch
List of Patch objects
See Also