Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.
silentrob: I personally like how notetab does this, focus the tab, and get a dialogue, ‘Another program has modified this page, “Reload”, “Cancel”’
I was thinking about this earlier. If a lot of files are updated outside of Intype — for example, when you svn commit it updates the $Id$ tag — then you could spend ages clicking Reload for each tab, and I think this’d soon get annoying. I think a better option might be for a single dialog to open saying: “The following files were edited outside of Intype <check list to allow you to select some, all, or none> Reload, Cancel”.
silentrob: When you open Intype have a restore session option (thats not really tab related, but sorta is)
This is more a feature for the Project Management section which Martin is currently working on.
silentrob: Im just not sure would would ‘Fire’ the event to call the dialogue.
Programmer’s Notepad notices changes to a file when you refocus its tab, and asks whether you want to reload the file and lose changes. I guess having it check the contents of every file when you change tab focus might be an unwanted overhead. Also, if you say to a file “No, don’t reload” and then select another tab which checks again, it’d ask you whether you wanted to reload that file again — unless you remember the answer.
Maybe the dialog per tab is a better idea after all :-)
Well, maybe if there is a way to subscribe to the file changes, much like the linux kernel lets you do. That way, you’d get an event from the filesystem, instead of checking that every time you focus a tab (I imagine that this would become seriously slow when working through a file stored in an FTP location or somesuch…)
The Windows API does let you ‘subscribe’ or watch files and folders for changes and the OS will notify your process with a WM when a change occurs. No polling or checking for changes is required and folder watches can be recursive to sub-folders, if desired:
1 to 7 of 7