Source code of diff-tool in Pascal

Discuss any editing or program related subjects.
Post Reply
Alextp
Posts: 69
Joined: 23 Aug 2014 23:36

Source code of diff-tool in Pascal

Post by Alextp »

Hello again
I 've read that RJ TextEd has "jump to next/previous difference". So it has the powerfull diff-tool in Pascal.
My program in Pascal uses Python plugin with "difflib" which works ok (btw it gives result in several formats by option)
but it's slow on big files (5-10Mb).
Can you please open the source of diff-tool? diff-engine only. to return diff result in some format (Unix diff is okay).

User avatar
Rickard Johansson
Site Admin
Posts: 6000
Joined: 19 Jul 2006 14:29

Re: Source code of diff-tool in Pascal

Post by Rickard Johansson »

The text diff code I'm using is based on TextDiff by Angus Johnson. I've made some changes to the original code and made a few updates.

It's possible to release the updated code (the copyright section allows it), but I've only updated the O(NP) code (since that is what I'm using in RJ TextEd). I also haven't documented all my changes and updated the demos...

But I'll look into it when I have the time.

User avatar
Rickard Johansson
Site Admin
Posts: 6000
Joined: 19 Jul 2006 14:29

Re: Source code of diff-tool in Pascal

Post by Rickard Johansson »

Done. The source code is available in the published code section.

Post Reply