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).
Source code of diff-tool in Pascal
- Rickard Johansson
- Site Admin
- Posts: 6749
- Joined: 19 Jul 2006 14:29
Re: Source code of diff-tool in Pascal
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.
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.
- Rickard Johansson
- Site Admin
- Posts: 6749
- Joined: 19 Jul 2006 14:29
Re: Source code of diff-tool in Pascal
Done. The source code is available in the published code section.