Diff?

Niggemann, Bernd Bernd.Niggemann at uni-wh.de
Sat Feb 1 06:00:53 EST 2020


Richard,

Library com.livecode.library.diff was introduce in 9.0

>From the release notes:
diff library
A new library has been implemented for computing diffs between text sources and applying those diffs to text.

https://github.com/livecode/livecode/blob/develop/extensions/script-libraries/diff/diff.livecodescript

I have used it occasionally and it worked well once you get the syntax right and find out what it does.
Especially in

DiffCompare(pFrom,pTo,pContext)

how pContext works. It takes a little experimentation.

Kind regards
Bernd

>Richard wrote:
>I just discovered three very interesting functions in the Dictionary:
>
>DiffCompare
>DiffCompareFiles
>DiffPatch




More information about the use-livecode mailing list