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.181-beta
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