Page 1 of 1

Source code of diff-tool in Pascal

Posted: 13 May 2020 15:42
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).

Re: Source code of diff-tool in Pascal

Posted: 18 May 2020 13:03
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.

Re: Source code of diff-tool in Pascal

Posted: 19 May 2020 13:23
by Rickard Johansson
Done. The source code is available in the published code section.