Closed ProgerXP closed 2 years ago
Done.
SkipFileSavePromptOnNewWindowCommand
INI option added: 0 (default), 1 - disable file save prompt.
Remove SkipFileSavePromptOnNewWindowCommand
, instead extend Notepad2's SaveBeforeRunningTools
so that value 2
(2e-specific) works as SkipFileSavePromptOnNewWindowCommand=1
, given that this setting has no meaning when SaveBeforeRunningTools
is disabled.
SaveBeforeRunningTools
option is tied to main menu item with a checkbox.
How is it supposed to work/switch there (in the case of a new non-boolean value [0,1,2])?
Right, change this into a submenu with 3 radios:
Done.
Memo: the setting affects these commands in Notepad2:
In #176 we have disabled it for Empty Window. Now, Enabled affects 1, 3-5 while except affects 3-5.
Currently New Window brings up the prompt for unsaved file. The new option (disabled by default) removes this prompt, opening new window without saving the file.
This is irrespective of Save Before Running Tools.