{"action":"created","issue":{"url":"https://api.github.com/repos/ProgerXP/Notepad2e/issues/101","repository_url":"https://api.github.com/repos/ProgerXP/Notepad2e","labels_url":"https://api.github.com/repos/ProgerXP/Notepad2e/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/ProgerXP/Notepad2e/issues/101/comments","events_url":"https://api.github.com/repos/ProgerXP/Notepad2e/issues/101/events","html_url":"https://github.com/ProgerXP/Notepad2e/issues/101","id":215862567,"number":101,"title":"Save on exit and History","user":{"login":"ProgerXP","id":1643195,"avatar_url":"https://avatars0.githubusercontent.com/u/1643195?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgerXP","html_url":"https://github.com/ProgerXP","followers_url":"https://api.github.com/users/ProgerXP/followers","following_url":"https://api.github.com/users/ProgerXP/following{/other_user}","gists_url":"https://api.github.com/users/ProgerXP/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgerXP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgerXP/subscriptions","organizations_url":"https://api.github.com/users/ProgerXP/orgs","repos_url":"https://api.github.com/users/ProgerXP/repos","events_url":"https://api.github.com/users/ProgerXP/events{/privacy}","received_events_url":"https://api.github.com/users/ProgerXP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ProgerXP","id":1643195,"avatar_url":"https://avatars0.githubusercontent.com/u/1643195?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgerXP","html_url":"https://github.com/ProgerXP","followers_url":"https://api.github.com/users/ProgerXP/followers","following_url":"https://api.github.com/users/ProgerXP/following{/other_user}","gists_url":"https://api.github.com/users/ProgerXP/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgerXP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgerXP/subscriptions","organizations_url":"https://api.github.com/users/ProgerXP/orgs","repos_url":"https://api.github.com/users/ProgerXP/repos","events_url":"https://api.github.com/users/ProgerXP/events{/privacy}","received_events_url":"https://api.github.com/users/ProgerXP/received_events","type":"User","site_admin":false},"assignees":[{"login":"ProgerXP","id":1643195,"avatar_url":"https://avatars0.githubusercontent.com/u/1643195?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgerXP","html_url":"https://github.com/ProgerXP","followers_url":"https://api.github.com/users/ProgerXP/followers","following_url":"https://api.github.com/users/ProgerXP/following{/other_user}","gists_url":"https://api.github.com/users/ProgerXP/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgerXP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgerXP/subscriptions","organizations_url":"https://api.github.com/users/ProgerXP/orgs","repos_url":"https://api.github.com/users/ProgerXP/repos","events_url":"https://api.github.com/users/ProgerXP/events{/privacy}","received_events_url":"https://api.github.com/users/ProgerXP/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-03-21T20:09:03Z","updated_at":"2017-04-10T18:33:31Z","closed_at":null,"body":"Currently I have settings autosaving disabled. I noticed several strange things:\r\n\r\n1. File Open dialog (Ctrl+O) remembers last used directory. This is expected, we have specifically implemented this remembering as part of extension of the dialog (with open by prefix) two years ago. But how is it implemented? Does it write the directory to the INI immediately, without using settings? Otherwise I can't explain why last directory is remembered for me even though settings autosaving is disabled.\r\n\r\n2. History list is not saved on exit. I thought that the checkbox (Alt+H - _Save recent files on exit_) made it save the list immediately. It doesn't? How complex it is to make it so?\r\n\r\n3. If I do this: start Notepad 2e, Alt+G, Ctrl+O - the dialog starts in the directory of the last file in the history (because history is not saved with autosaving disabled, this is the last file used when autosaving was enabled). Then I do Ctrl+N, Ctrl+O - and the dialog starts in the directory of the last file \"globally\", i.e. of the previous Notepad 2e process (no matter if autosaving is enabled or not). Shouldn't second Ctrl+O start in the directory of the same file as the first Ctrl+O?"},"comment":{"url":"https://api.github.com/repos/ProgerXP/Notepad2e/issues/comments/293038880","html_url":"https://github.com/ProgerXP/Notepad2e/issues/101#issuecomment-293038880","issue_url":"https://api.github.com/repos/ProgerXP/Notepad2e/issues/101","id":293038880,"user":{"login":"ProgerXP","id":1643195,"avatar_url":"https://avatars0.githubusercontent.com/u/1643195?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgerXP","html_url":"https://github.com/ProgerXP","followers_url":"https://api.github.com/users/ProgerXP/followers","following_url":"https://api.github.com/users/ProgerXP/following{/other_user}","gists_url":"https://api.github.com/users/ProgerXP/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgerXP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgerXP/subscriptions","organizations_url":"https://api.github.com/users/ProgerXP/orgs","repos_url":"https://api.github.com/users/ProgerXP/repos","events_url":"https://api.github.com/users/ProgerXP/events{/privacy}","received_events_url":"https://api.github.com/users/ProgerXP/received_events","type":"User","site_admin":false},"created_at":"2017-04-10T18:33:31Z","updated_at":"2017-04-10T18:33:31Z","body":"\r\n>  a) Do you want to make \"Save recent files on exit\"-setting work independently from other settings (i.e. be able to save \"recent files\"-list even if regular SaveSettings()-subroutine will never be called)?\r\n\r\nYes, I am asking how complex it is to detach this setting from other settings so that no matter if _Save Settings on Exit_ is enabled or not:\r\n\r\n1. The _Save recent files on exit_ setting is saved as soon as Open Recent File (Alt+H) is closed by any means.\r\n2. When Notepad exits, if _Save recent files on exit_ setting has been enabled - file list (history) is saved as if I have pressed F7 (_Save Settings Now_) but without saving other settings except the file list itself.\r\n\r\nIf settings autosaving is enabled then last point is a regular save of all settings, _including_ the history list. If autosaving is disabled, only history list is saved, no other settings."}}
{"actor":{"display_login":"ProgerXP"}}