|
DiffMatchPatchPatchApply Method
|
Merge a set of patches onto the text. Return a patched text, as well
as an array of true/false values indicating which patches were applied.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic Object[] PatchApply(
List<Patch> patches,
string text
)
Public Function PatchApply (
patches As List(Of Patch),
text As String
) As Object()
public:
array<Object^>^ PatchApply(
List<Patch^>^ patches,
String^ text
)
member PatchApply :
patches : List<Patch> *
text : string -> Object[]
function PatchApply(patches, text);
View SourceParameters
- patches ListPatch
- Array of Patch objects
- text String
- Old text
Return Value
ObjectTwo element Object array, containing the new text and an array of bool values
See Also