I tried that both with a text file with "a" and a vbscript file with 300 lines
In both cases "text diff with file contents on disk" added 1 extra line, that actually wasn't there after closing PsPad and opening the files again with other editors. BUT when PsPad shows "text diff with file contents on disk" and "line numbers are shown", the "extra line" is shown with line number in left pane, but no extra line numbers is shown in the right pane. BUT if you move the cursor to the right pane, you can actually jump to that "extra" line using arrow down. I have noted, that it's easier to use "text diff with file contents on disk" instead of "text diff with this file", but I would like, if you would add "text diff with file contents on disk" to the rightclick menu used anywhere inside the open file. That's easier and quicker than to move to cursor to the TAB. ************************************************************************ Actually - this topic isn't about text diff, but is about the disturbing messages about "changes in the file" while I'm NOT making any changes in the file. ************************************************************************ I can't reproduce a scenario for you, to force this situation, but I will try to find out, if it's possible. Until now I have seen this situation more often on my work computer, than on my home computer, and I thought that it on my work computer was because I most of the day have some vbscipt files open for changes in PsPad, and after saving them (without closing PsPad), I'm using our managementsystem to run the vbscripts silent (using a service running cscript.exe with local system account) on ANOTHER computer, and I guess it actually triggers an "opening of the file" I'm watching in PsPad on my work computer. But that scenario didn't trigger the "changes in the file", after trying it several times. And I don't use PsPad on my home computer to run files on another computer using cscript.exe But I have this issue about "changes in the file" on both my work computer and my home computer, using the same pspad.ini file. To solve both issues, I tried to enable: [config] AddCrLf=1 But that didn't change the behavior about "text diff", but after a while, it seems like, that it solved the issue about "changes in the file". SO I WILL REPORT TO YOU IN A COUPLE OF DAYS: 1. Did AddCrLf=1 actually solve the issue? 2. Maybee I can find a scenario to force the issue? BTW: I hope you had a Happy Christmas, just as I did ;O) -- <http://forum.pspad.com/read.php?2,57963,57975> PSPad freeware editor http://www.pspad.com
