Click or drag to resize

DiffMatchPatch.PatchApply Method

Merge a set of patches onto the text. Return a patched text, as well as an array of true/false values indicating which patches were applied.

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
Syntax
public Object[] PatchApply(
	List<Patch> patches,
	string text
)
View Source

Parameters

patches  List<Patch>
Array of Patch objects
text  String
Old text

Return Value

Object[]
Two element Object array, containing the new text and an array of bool values
See Also