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