|
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.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
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