{"action":"created","issue":{"url":"https://api.github.com/repos/mrhanlon/less-than-slash/issues/27","labels_url":"https://api.github.com/repos/mrhanlon/less-than-slash/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mrhanlon/less-than-slash/issues/27/comments","events_url":"https://api.github.com/repos/mrhanlon/less-than-slash/issues/27/events","html_url":"https://github.com/mrhanlon/less-than-slash/issues/27","id":128561115,"number":27,"title":"Listener for `TextBuffer.onDidChange` bound twice when splitting editor pane","user":{"login":"mrhanlon","id":630606,"avatar_url":"https://avatars.githubusercontent.com/u/630606?v=3","gravatar_id":"","url":"https://api.github.com/users/mrhanlon","html_url":"https://github.com/mrhanlon","followers_url":"https://api.github.com/users/mrhanlon/followers","following_url":"https://api.github.com/users/mrhanlon/following{/other_user}","gists_url":"https://api.github.com/users/mrhanlon/gists{/gist_id}","starred_url":"https://api.github.com/users/mrhanlon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrhanlon/subscriptions","organizations_url":"https://api.github.com/users/mrhanlon/orgs","repos_url":"https://api.github.com/users/mrhanlon/repos","events_url":"https://api.github.com/users/mrhanlon/events{/privacy}","received_events_url":"https://api.github.com/users/mrhanlon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrhanlon/less-than-slash/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-25T15:26:58Z","updated_at":"2016-01-25T15:44:13Z","closed_at":"2016-01-25T15:43:41Z","body":"It looks like we might should be attaching to `TextEditor.onDidChange` instead of `TextBuffer.onDidChange`. When you split the pane the buffer's `onDidChange` event seems to get triggered twice. \r\n\r\nI believe this was the underlying cause of #26 as well."},"comment":{"url":"https://api.github.com/repos/mrhanlon/less-than-slash/issues/comments/174548221","html_url":"https://github.com/mrhanlon/less-than-slash/issues/27#issuecomment-174548221","issue_url":"https://api.github.com/repos/mrhanlon/less-than-slash/issues/27","id":174548221,"user":{"login":"mrhanlon","id":630606,"avatar_url":"https://avatars.githubusercontent.com/u/630606?v=3","gravatar_id":"","url":"https://api.github.com/users/mrhanlon","html_url":"https://github.com/mrhanlon","followers_url":"https://api.github.com/users/mrhanlon/followers","following_url":"https://api.github.com/users/mrhanlon/following{/other_user}","gists_url":"https://api.github.com/users/mrhanlon/gists{/gist_id}","starred_url":"https://api.github.com/users/mrhanlon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrhanlon/subscriptions","organizations_url":"https://api.github.com/users/mrhanlon/orgs","repos_url":"https://api.github.com/users/mrhanlon/repos","events_url":"https://api.github.com/users/mrhanlon/events{/privacy}","received_events_url":"https://api.github.com/users/mrhanlon/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T15:44:13Z","updated_at":"2016-01-25T15:44:13Z","body":"Added a check to make sure that each buffer is only being listened to once."}}