Hello, @decrepit-old-geekoid, @peterjones and All,
It just so happens that I still have the docMonitor.2.2.zip archive on my old Win XP computer. So, on the last XP version of N++ ( v7.9.2 ), within a plugin directory named docMonitor, I installed the docMonitor.unicode.dll that I renamed docMonitor.dll
Notepad++ opened normally and the plugin was here with the single option Plugins > Document Monitor > Start to monitor.
Before activating this plugin, I ran, in a CMD command prompt window, the command :
notepad++ -nosession Test.txt
Then, the DOS command :
echo ABCDE >> test.txt
I verified that I got, within N++, the usual dialog :
This file has been modified by an other program.
Do you want to reload it?
Clicking on the Yes button, it added, as expected, the line ABCDE to the empty Test.txt file => OK
As soon as I choosed the option Plugins > Document Monitor > Start to monitor, any subsequent echo command uodated silently the Test.txt file, as well => OK
Then I ran the option Plugins > Document Monitor > Stop monitoring. I thought that it would again show the dialog to reload the file, but subsequent echo commands still updated silently the file !?
I said to myself : May be it’s worth to stop/start the computer again. However, the problem remained identical, afterwards ??
Then, I desintalled the DocMonitor plugin completely, including the docMonitor.ini file under config and restarted my Win XP computer. But, again, any echo command still updated the Test.txt file silently !!??
At that point, I didn’t understand at all ! Thus, I decided to pull out the stops and reinstall a clean version of a portable N++ v.7.9.2 in a separate directory !
By default, this new version correctly showed the dialog This file has been modified by an other program. after a command :
echo bla bla blah >> test.txt
Then, I had the idea to compare all the N++ preferences between my normal intallation and this new version and…, surprise : there were some differences in the MISC. preferences :
The file status Auto-detection section shows the Enable for all opened files option and the Update silently and Scroll to the last line after update options were checked, in my normal intallation
The file status Auto-detection section shows the Enable option and the Update silently and Scroll to the last line after update versions were unchecked, in the new N++ version
So, in the new version, I re-installed the Doc Monitor plugin and even after running the Plugins > Document Monitor > Start to monitor option, the MISC. preferences for file status were still the default ones !
Howewer, if you close and re-start N++ immediately, you see, this time, the Enable for all opened files option and the two box options checked, in the MISC. preferences !
So, apparently, at least , with this 2.2.0.0 version, Don simply activates, with his plugin, these specific N++ options which updates silently any opened file !
Best Regards,
guy038