{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/15183","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/15183/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/15183/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/15183/events","html_url":"https://github.com/dotnet/roslyn/pull/15183","id":188873033,"number":15183,"title":"always save changes to unopened documents","user":{"login":"mattwar","id":3387305,"avatar_url":"https://avatars.githubusercontent.com/u/3387305?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwar","html_url":"https://github.com/mattwar","followers_url":"https://api.github.com/users/mattwar/followers","following_url":"https://api.github.com/users/mattwar/following{/other_user}","gists_url":"https://api.github.com/users/mattwar/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwar/subscriptions","organizations_url":"https://api.github.com/users/mattwar/orgs","repos_url":"https://api.github.com/users/mattwar/repos","events_url":"https://api.github.com/users/mattwar/events{/privacy}","received_events_url":"https://api.github.com/users/mattwar/received_events","type":"User","site_admin":false},"labels":[{"id":197452922,"url":"https://api.github.com/repos/dotnet/roslyn/labels/cla-already-signed","name":"cla-already-signed","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-11T23:28:28Z","updated_at":"2016-11-14T20:47:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/15183","html_url":"https://github.com/dotnet/roslyn/pull/15183","diff_url":"https://github.com/dotnet/roslyn/pull/15183.diff","patch_url":"https://github.com/dotnet/roslyn/pull/15183.patch"},"body":"This fixes a bug found when investigating #12531 \r\n\r\nThis change makes it so InvisibleEditor's created via the vs workspace will always be set to save the document if the document is not open in the editor. \r\n\r\nThe problem this is fixing is one where an edit is made to just a single closed document.  In this case we were failing to call SaveDocuments on the running document table.  We generally only called SaveDocuments if there is a global undo transaction in effect, and there is only a global undo transaction if there is more than one document involved. Except closed documents cannot be saved manually by the user as they don't correspond to an open text buffer in the editor.\r\n\r\n@dotnet/roslyn-ide please review"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/260457666","html_url":"https://github.com/dotnet/roslyn/pull/15183#issuecomment-260457666","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/15183","id":260457666,"user":{"login":"jmarolf","id":9797472,"avatar_url":"https://avatars.githubusercontent.com/u/9797472?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarolf","html_url":"https://github.com/jmarolf","followers_url":"https://api.github.com/users/jmarolf/followers","following_url":"https://api.github.com/users/jmarolf/following{/other_user}","gists_url":"https://api.github.com/users/jmarolf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarolf/subscriptions","organizations_url":"https://api.github.com/users/jmarolf/orgs","repos_url":"https://api.github.com/users/jmarolf/repos","events_url":"https://api.github.com/users/jmarolf/events{/privacy}","received_events_url":"https://api.github.com/users/jmarolf/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T20:47:32Z","updated_at":"2016-11-14T20:47:32Z","body":"@mattwar You could write a test using the new integration test framework.  ask @tannergooding "}}
{"actor":{"display_login":"jmarolf"}}