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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public string DiffToDelta(
	List<Diff> diffs
)
View Source

Parameters

diffs  ListDiff
Array of Diff objects

Return Value

String
Delta text
See Also