brian at milby7.com
Sat Feb 1 10:02:47 EST 2020
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.
On Feb 1, 2020, 6:02 AM -0500, Niggemann, Bernd via use-livecode <use-livecode at lists.runrev.com>, wrote:
> 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.
> I have used it occasionally and it worked well once you get the syntax right and find out what it does.
> Especially in
> how pContext works. It takes a little experimentation.
> Kind regards
> > Richard wrote:
> > I just discovered three very interesting functions in the Dictionary:
> > DiffCompare
> > DiffCompareFiles
> > DiffPatch
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode