|
DiffMatchPatchDiffMain(String, String) Method
|
Find the differences between two texts.
Run a faster, slightly less optimal diff.
This method allows the 'checklines' of DiffMain() to be optional.
Most of the time checklines is wanted, so default to true.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic List<Diff> DiffMain(
string text1,
string text2
)
Public Function DiffMain (
text1 As String,
text2 As String
) As List(Of Diff)
public:
List<Diff^>^ DiffMain(
String^ text1,
String^ text2
)
member DiffMain :
text1 : string *
text2 : string -> List<Diff>
function DiffMain(text1, text2);
View SourceParameters
- text1 String
- Old string to be diffed
- text2 String
- New string to be diffed
Return Value
ListDiffList of Diff objects
See Also