In a hurry?

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

In a hurry?

Post by MSpagni »

It happens to me that I change the files I'm comparing in EDP using different programs/editors.
I have the auto-recompare option set.
It is not infrequent that, while the other editor is saving the updated file, EDP complains about "not being able to open the file... because it doesn't exist or it's locked by another application" (or something like that).
As you can understand, it's a matter of a fraction of a second.
I suppose that EDP is handling the OS message about a file system change.
Can EDP be made a little more "patient"?
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: In a hurry?

Post by psguru »

The latest build (6.0.2.4) uses a new setting, "Change Notification Post Delay" under My Computer\HKEY_CURRENT_USER\Software\PrestoSoft\ExamDiff Pro\Settings, in milliseconds. You can play with it (the default is 0). It works only in file comparison and merge, not directory comparison. You need to start EDPro and exit to get the value initially written in the Registry.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: In a hurry?

Post by MSpagni »

I had no time to make many experiments yet, but I set the value to 1000 (1 s) and so far it seems to work perfectly.
Thank you (as always).
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: In a hurry?

Post by MSpagni »

Ehm... I wrote a bit too early.
Sometimes the comparison is not refreshed at all and I must recompare by hand.
More as soon as I discover how and why.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: In a hurry?

Post by psguru »

Please let me know what you find out. It's a simple change though: if the setting is not 0, a thread is created that sleeps for the specified prion before posting the notification message.
psguru
PrestoSoft
Post Reply