Click or drag to resize

DiffMatchPatchDiffToDelta Method

Crush the diff into an encoded string which describes the operations required to transform text1 into text2. E.g. =3\t-2\t+ing -> Keep 3 chars, delete 2 chars, insert 'ing'. Operations are tab-separated. Inserted text is escaped using %xx notation.

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
Syntax
public string DiffToDelta(
	List<Diff> diffs
)
View Source

Parameters

diffs  ListDiff
Array of Diff objects

Return Value

String
Delta text
See Also