Posted by: HZe | Date: 10/04/2016 10:30 | IP: IP Logged
when configuring an external text diff tool, you can decide whether to save the file first. For an external tool that makes sense.
However, when using the diff of the current edit buffer with the content on disk, there is currently no way to get it right with the external diff tool. If you save, you compare only the new content and get no differences, if you don't save, you get only the old content and no differences.
The "Diff with file content on disk" would need to save the current buffer into a temp. file and call the external tool with the original file name and the temp file name. This way it would work.
Optionally, after the external diff finishes, a modified content of the temp file should trigger a question to read it into the edit buffer.
Posted by: pspad | Date: 11/24/2016 15:09 | IP: IP Logged
Fixed. In case your file is modified and you compare with content on the disk or with file, PSPad will save open file into temporary one and send it to compare tool.