|
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.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntaxpublic string DiffToDelta(
List<Diff> diffs
)
Public Function DiffToDelta (
diffs As List(Of Diff)
) As String
public:
String^ DiffToDelta(
List<Diff^>^ diffs
)
member DiffToDelta :
diffs : List<Diff> -> string
function DiffToDelta(diffs);
View SourceParameters
- diffs ListDiff
- Array of Diff objects
Return Value
StringDelta text
See Also