This is marvellous. This will be so useful. Sean Cole Pi Digital Prod Ltd
> On 1 Feb 2020, at 15:02, Brian Milby via use-livecode > <[email protected]> wrote: > > I use this in ScriptTracker to get the changes when saving a stack. I > squash them together into a consolidated diff for the stack. I have not done > anything with the patch side though. > > Thanks, > Brian >> On Feb 1, 2020, 6:02 AM -0500, Niggemann, Bernd via use-livecode >> <[email protected]>, wrote: >> 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 >> >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
