TSE: File: Compare: CmpBuffers.s version that accepts 2 filenames on disk as parameters and hightlights the word differences.
Hello,
1. Download the latest version here:
or here (click in the right top on the download button)
2. Example:
3. Create 2 files on disk:
c:\temp\ddd1.txt
which contains this text:
This is a line of a file to be compared to a similar line in another file.
and
c:\temp\ddd2.txt
which contains this text:
This is a line of a file being compared to a similar line in another file.
4. Note: You must make sure that these 2 files are saved to disk, otherwise
you will not see the character differences as the TSE display is not refreshed, as thus the files are still in the old
state shown on he TSE screen.
5. Then run with ExecMacro() or 'menu' > 'Macro' > 'Execute'
CmpBuffers "c:\temp\ddd1.txt" "c:\temp\ddd2.txt"
6. Additionally now also show character differences in the diff lines.
7. I asked the AI.
8. Starting from and uploading the file CmpBuffers.s as found in TSE 4.50.20 \mac\ directory
as a starting point.
7. Hereby the result only very briefly tested once.
with friendly greetings
Knud van Eeden