Click or drag to resize

DiffMatchPatchDiffMain(String, String, Boolean) Method

Find the differences between two texts.

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public List<Diff> DiffMain(
	string text1,
	string text2,
	bool checklines
)
View Source

Parameters

text1  String
Old string to be diffed
text2  String
New string to be diffed
checklines  Boolean
Speedup flag. If false, then don't run a line-level diff first to identify the changed areas. If true, then run a faster slightly less optimal diff.

Return Value

ListDiff
List of Diff objects
See Also