|
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.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
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