{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/10178","labels_url":"https://api.github.com/repos/atom/atom/issues/10178/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/10178/comments","events_url":"https://api.github.com/repos/atom/atom/issues/10178/events","html_url":"https://github.com/atom/atom/pull/10178","id":123837976,"number":10178,"title":"Open file in pending state on single click","user":{"login":"kuychaco","id":7910250,"avatar_url":"https://avatars.githubusercontent.com/u/7910250?v=3","gravatar_id":"","url":"https://api.github.com/users/kuychaco","html_url":"https://github.com/kuychaco","followers_url":"https://api.github.com/users/kuychaco/followers","following_url":"https://api.github.com/users/kuychaco/following{/other_user}","gists_url":"https://api.github.com/users/kuychaco/gists{/gist_id}","starred_url":"https://api.github.com/users/kuychaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuychaco/subscriptions","organizations_url":"https://api.github.com/users/kuychaco/orgs","repos_url":"https://api.github.com/users/kuychaco/repos","events_url":"https://api.github.com/users/kuychaco/events{/privacy}","received_events_url":"https://api.github.com/users/kuychaco/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-24T22:55:11Z","updated_at":"2015-12-25T04:49:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/10178","html_url":"https://github.com/atom/atom/pull/10178","diff_url":"https://github.com/atom/atom/pull/10178.diff","patch_url":"https://github.com/atom/atom/pull/10178.patch"},"body":"This is an alternative approach to #10171 \r\n\r\nThe Text Editor now has a `pending` property and the following methods:\r\n- isPending\r\n- onDidTerminatePendingState\r\n- terminatePendingState\r\n\r\nThe tabs package now checks if the item is pending rather than checking if the active pane has a pending item in it. \r\n\r\nSee corresponding pull requests for tree-view and tabs packages:\r\n\r\n- [tree-view #682](https://github.com/atom/tree-view/pull/682)\r\n- [tabs #246](https://github.com/atom/tabs/pull/246)\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/167192778","html_url":"https://github.com/atom/atom/pull/10178#issuecomment-167192778","issue_url":"https://api.github.com/repos/atom/atom/issues/10178","id":167192778,"user":{"login":"nathansobo","id":1789,"avatar_url":"https://avatars.githubusercontent.com/u/1789?v=3","gravatar_id":"","url":"https://api.github.com/users/nathansobo","html_url":"https://github.com/nathansobo","followers_url":"https://api.github.com/users/nathansobo/followers","following_url":"https://api.github.com/users/nathansobo/following{/other_user}","gists_url":"https://api.github.com/users/nathansobo/gists{/gist_id}","starred_url":"https://api.github.com/users/nathansobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathansobo/subscriptions","organizations_url":"https://api.github.com/users/nathansobo/orgs","repos_url":"https://api.github.com/users/nathansobo/repos","events_url":"https://api.github.com/users/nathansobo/events{/privacy}","received_events_url":"https://api.github.com/users/nathansobo/received_events","type":"User","site_admin":true},"created_at":"2015-12-25T04:49:19Z","updated_at":"2015-12-25T04:49:19Z","body":"> is listening for. Is there another method I should be using to modify the buffer in the test?\r\n\r\nIt's an async event... the clock is mocked in the global environment and you should be able to use `advanceClock` to force time ahead until it fires. I'm not stoked about the way that evolved but it should work for now."}}