Re: Fragile Fences



Larry Barowski wrote:
"Raymond DeCampo" <nospam@xxxxxxxxxxxx> wrote in message
news:VxABe.144477$g5.4298@xxxxxxxxxxxxxxxxxxxxxxx

Roedy Green wrote:

On Thu, 14 Jul 2005 18:01:40 GMT, "Virgil Green"
<vjg@xxxxxxxxxxxxxxxxxx> wrote or quoted :



I removed the change via TextPad and
saved it. When I returned to Eclipse I was presented with a dialog
indicating that the file had been changed externally by another program

and

it offered to reload it.


That proves my point that Eclipse must have its own internal copy. If
it did not, how could it detect the change, and how could it offer to
carry on WITHOUT reloading.


The same way all editors do this. They watch the file system, hopefully with native code that does not require polling, to see if the time stamp of the file changes from when they opened it.


On Windows, most editors just check file mod times whenever
an application window gets focus. On an FFM system that would
be annoying though.



Those editors will miss out on changes that happen via background processes, by network file access, etc. that occur while the window has focus.


I'm not sure what you mean by a FFM system.

Ray

--
XML is the programmer's duct tape.
.



Relevant Pages

  • Re: RCP framework for .NET?
    ... you are not exactly accurate about PFC. ... Eclipse provide is the general kind of functionality. ... - Keep information about the layout of a window (or as they call it Eclipse ... - Progress manager: you can enroll a trhead to be monitored and a progress ...
    (microsoft.public.dotnet.general)
  • Re: RCP framework for .NET?
    ... you are not exactly accurate about PFC. ... Eclipse provide is the general kind of functionality that is needed to build ... the window. ... - Progress manager: you can enroll a trhead to be monitored and a progress ...
    (microsoft.public.dotnet.general)
  • Re: Why Lisp is too hard for me to use
    ... Christian Hofer wrote: ... > When I first found Eclipse, I thought: Cool, a CL based window manager. ...
    (comp.lang.lisp)
  • Re: Mackbook experiences ..
    ... Eclipse will sufer the same problem. ... Eclipse on either platform will cope fine - just drag out the view into ... a separate window, and put that window on the other monitor. ... With the first method, if I select my window in the left monitor, then ...
    (uk.comp.sys.mac)
  • Re: Fragile Fences
    ... >> That proves my point that Eclipse must have its own internal copy. ... They watch the file system, ... > with native code that does not require polling, to see if the time stamp ... On Windows, most editors just check file mod times whenever ...
    (comp.lang.java.programmer)