Click or drag to resize

DiffMatchPatchDiffLinesToChars Method

Split two texts into a list of strings. Reduce the texts to a string of hashes where each Unicode character represents one line.

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
Syntax
protected Object[] DiffLinesToChars(
	string text1,
	string text2
)
View Source

Parameters

text1  String
First string
text2  String
Second string

Return Value

Object
Three element Object array, containing the encoded text1, the encoded text2 and the List of unique strings. The zeroth element of the List of unique strings is intentionally blank.
See Also