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.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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