Block reboots
Posted: Mon May 22, 2023 12:27 pm
Windows updates that cut in while I am away getting a coffee have lost many unsaved edits.
If TextPad has unsaved files, could it please block a system reboot request?
If catching the WM_QUERYENDSESSION message does not allow a full block, please ensure that unsaved files do get saved.
It would probably be kinder to save to a backup file rather than just saving as normal.
Restarting Textpad should then warn about any pending backup saves.
Also save the workspace file.
If TextPad has unsaved files, could it please block a system reboot request?
If catching the WM_QUERYENDSESSION message does not allow a full block, please ensure that unsaved files do get saved.
It would probably be kinder to save to a backup file rather than just saving as normal.
Restarting Textpad should then warn about any pending backup saves.
Also save the workspace file.