notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Behavior of "Save Settings On Exit"

Open SeaHOH opened this issue 3 years ago • 4 comments

There seems to be no uniformity in the behavior of "Save Settings On Exit".

First at all, even this option has not be checked, notepad2 re-write SaveSettings=0 on exit everytime.

Some settings will be saved on click, e.g. SingleFileInstance, ReuseWindow.

Some settings will never be saved on exit, e.g. TabsAsSpaces (only menu item "Insert Tabs as Spaces", not in "Tab Settings" window).

SeaHOH avatar Aug 24 '22 01:08 SeaHOH

The menu "Insert Tabs as Spaces" only effects for current file (currently per-file settings is not retained).

zufuliu avatar Aug 24 '22 02:08 zufuliu

The menu "Insert Tabs as Spaces" is only effects for current file (currently per-file settings is not retained).

Thanks for explain, could you add related describe in menu item?

And, how about other two, can them be fixed?

SeaHOH avatar Aug 24 '22 03:08 SeaHOH

SaveSettings=0, SingleFileInstance=1 and ReuseWindow=1 needs to be saved, otherwise they have no effect on next launch.

zufuliu avatar Aug 27 '22 01:08 zufuliu

Ok, I understand why they must be saved at once. But I think changes below can bring better user experience.

  • If SaveSettings=0 had already exist, does not re-write it once more.

  • Change the menu wording from "Insert Tabs as Spaces" to "Insert Tabs as Spaces (current file/window)".

SeaHOH avatar Aug 27 '22 04:08 SeaHOH