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.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
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