|
DiffMatchPatchDiffMain(String, String, Boolean) Method
|
Find the differences between two texts.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic List<Diff> DiffMain(
string text1,
string text2,
bool checklines
)
Public Function DiffMain (
text1 As String,
text2 As String,
checklines As Boolean
) As List(Of Diff)
public:
List<Diff^>^ DiffMain(
String^ text1,
String^ text2,
bool checklines
)
member DiffMain :
text1 : string *
text2 : string *
checklines : bool -> List<Diff>
function DiffMain(text1, text2, checklines);
View SourceParameters
- text1 String
- Old string to be diffed
- text2 String
- New string to be diffed
- checklines Boolean
-
Speedup flag. If false, then don't run a
line-level diff first to identify the changed areas.
If true, then run a faster slightly less optimal diff.
Return Value
ListDiffList of Diff objects
See Also