Toolbar icon to reload modified files
Posted: Wed Dec 03, 2003 10:21 am
There is a configuration option to set whether you should be prompted to reload a file which is modified outside of TextPad (which I think is on by default)
This is generally quite useful.
However, when reading large log files from an active application the reload dialog box can pop-up every 2 seconds getting in the way of reading the file.
Changing the reload preference to ignore and always reload is an option, but both have their problems.
What is really wanted is a non-modal reload indicator. This could be done by having an icon/button appear in the title bar of the file. Or more simply you could have a 'reload' button in the toolbar which is gray/disabled if the active document is current, and highlights when the file is externally modified. You could then choose to reload the document by clicking on the icon, or simply ignore it.
This is generally quite useful.
However, when reading large log files from an active application the reload dialog box can pop-up every 2 seconds getting in the way of reading the file.
Changing the reload preference to ignore and always reload is an option, but both have their problems.
What is really wanted is a non-modal reload indicator. This could be done by having an icon/button appear in the title bar of the file. Or more simply you could have a 'reload' button in the toolbar which is gray/disabled if the active document is current, and highlights when the file is externally modified. You could then choose to reload the document by clicking on the icon, or simply ignore it.