{"action":"created","issue":{"url":"https://api.github.com/repos/Alexey-T/CudaText/issues/1570","repository_url":"https://api.github.com/repos/Alexey-T/CudaText","labels_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/1570/labels{/name}","comments_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/1570/comments","events_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/1570/events","html_url":"https://github.com/Alexey-T/CudaText/issues/1570","id":351090111,"node_id":"MDU6SXNzdWUzNTEwOTAxMTE=","number":1570,"title":"[session] Save all files before start to close them","user":{"login":"kvichans","id":7419630,"node_id":"MDQ6VXNlcjc0MTk2MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/7419630?v=4","gravatar_id":"","url":"https://api.github.com/users/kvichans","html_url":"https://github.com/kvichans","followers_url":"https://api.github.com/users/kvichans/followers","following_url":"https://api.github.com/users/kvichans/following{/other_user}","gists_url":"https://api.github.com/users/kvichans/gists{/gist_id}","starred_url":"https://api.github.com/users/kvichans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvichans/subscriptions","organizations_url":"https://api.github.com/users/kvichans/orgs","repos_url":"https://api.github.com/users/kvichans/repos","events_url":"https://api.github.com/users/kvichans/events{/privacy}","received_events_url":"https://api.github.com/users/kvichans/received_events","type":"User","site_admin":false},"labels":[{"id":438337415,"node_id":"MDU6TGFiZWw0MzgzMzc0MTU=","url":"https://api.github.com/repos/Alexey-T/CudaText/labels/can%20be%20closed","name":"can be closed","color":"d4c5f9","default":false},{"id":263675647,"node_id":"MDU6TGFiZWwyNjM2NzU2NDc=","url":"https://api.github.com/repos/Alexey-T/CudaText/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-08-16T07:39:43Z","updated_at":"2018-08-20T10:55:44Z","closed_at":null,"author_association":"COLLABORATOR","body":"Нужно разделить на два прохода сохранение и закрытие файлов при закрытии сессии. Сейчас один проход: каждый файл сохраняется и закрывается. Из-за этого возникает неприятная ситуация:\r\n- почти все файлы уже закрылись,\r\n- задается вопрос \"Сохранять изменения?\" для последнего файла,\r\n- есть вариант ответа \"Отменить\", который останавливает закрытие сессии\r\n- но сессия испорчена - из нее пропали почти все файлы"},"comment":{"url":"https://api.github.com/repos/Alexey-T/CudaText/issues/comments/414277146","html_url":"https://github.com/Alexey-T/CudaText/issues/1570#issuecomment-414277146","issue_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/1570","id":414277146,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDI3NzE0Ng==","user":{"login":"Alexey-T","id":4154978,"node_id":"MDQ6VXNlcjQxNTQ5Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4154978?v=4","gravatar_id":"","url":"https://api.github.com/users/Alexey-T","html_url":"https://github.com/Alexey-T","followers_url":"https://api.github.com/users/Alexey-T/followers","following_url":"https://api.github.com/users/Alexey-T/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-T/subscriptions","organizations_url":"https://api.github.com/users/Alexey-T/orgs","repos_url":"https://api.github.com/users/Alexey-T/repos","events_url":"https://api.github.com/users/Alexey-T/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-T/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T10:55:44Z","updated_at":"2018-08-20T10:55:44Z","author_association":"OWNER","body":" измененный пометится как неизмененный. не знаю что делать."}}
{"actor":{"display_login":"Alexey-T"}}