On Mon, 23 Jan 2006 17:18:36 -0500 Tony Maro <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote: > > The files didn't changed on disk, so an automatic refresh would undo > > your current changes. > > > > At the moment the IDE does this: > > On saving/opening a file it retrieves the FileAge of the file. > > At several occassions it compares these file dates with the current file > > dates. > > If it changed it gives the user the choice. > > > It's odd, because both computers sync clocks from the same timeserver - > which is also located on my network. I've looked and the clocks appear > the same, so I assume it's something about going from Linux to Windows > over NFS that's making it look different. > > When the server and the client are not properly synchronized, the file > > dates differ (but not immediately because of the caches) and for the > > client it seems as if the file changed. > > We could extend the check to load the file and compare its content. > I'd think have it run the DIFF before deciding to pop up the dialog, and > if nothing appears, ignore the change? This means IO overhead. Especially on a network fs. That's why I didn't implement it. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives