|
DiffMatchPatchDiffFromDelta Method
|
Given the original text1, and an encoded string which describes the
operations required to transform text1 into text2, compute the full diff.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic List<Diff> DiffFromDelta(
string text1,
string delta
)
Public Function DiffFromDelta (
text1 As String,
delta As String
) As List(Of Diff)
public:
List<Diff^>^ DiffFromDelta(
String^ text1,
String^ delta
)
member DiffFromDelta :
text1 : string *
delta : string -> List<Diff>
function DiffFromDelta(text1, delta);
View SourceParameters
- text1 String
- Source string for the diff
- delta String
- Delta text
Return Value
ListDiffArray of Diff objects or null if invalid
ExceptionsException | Condition |
---|
ArgumentException | If invalid input |
See Also