{"action":"created","issue":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2299","labels_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2299/labels{/name}","comments_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2299/comments","events_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2299/events","html_url":"https://github.com/twosigma/beaker-notebook/pull/2299","id":105218440,"number":2299,"title":"fix codemirror should unhighlight on blur #2261","user":{"login":"kpaharelau","id":13516511,"avatar_url":"https://avatars.githubusercontent.com/u/13516511?v=3","gravatar_id":"","url":"https://api.github.com/users/kpaharelau","html_url":"https://github.com/kpaharelau","followers_url":"https://api.github.com/users/kpaharelau/followers","following_url":"https://api.github.com/users/kpaharelau/following{/other_user}","gists_url":"https://api.github.com/users/kpaharelau/gists{/gist_id}","starred_url":"https://api.github.com/users/kpaharelau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpaharelau/subscriptions","organizations_url":"https://api.github.com/users/kpaharelau/orgs","repos_url":"https://api.github.com/users/kpaharelau/repos","events_url":"https://api.github.com/users/kpaharelau/events{/privacy}","received_events_url":"https://api.github.com/users/kpaharelau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T13:42:15Z","updated_at":"2015-09-08T02:53:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/pulls/2299","html_url":"https://github.com/twosigma/beaker-notebook/pull/2299","diff_url":"https://github.com/twosigma/beaker-notebook/pull/2299.diff","patch_url":"https://github.com/twosigma/beaker-notebook/pull/2299.patch"},"body":"I found that highlighting not working if selection in an editor is not changed. I has added event listeners on \"blur\" and \"focus\" for a solving this problem.\r\nOn \"blur\" selection is changed and  \"cursorActivity\" event fired. On \"focus\" only \"cursorActivity\" event fired.\r\n\r\nNotebook for tests - https://www.dropbox.com/s/lys4nixenlzaci9/2261.bkr?dl=0"},"comment":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/comments/138416351","html_url":"https://github.com/twosigma/beaker-notebook/pull/2299#issuecomment-138416351","issue_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/2299","id":138416351,"user":{"login":"scottdraves","id":963093,"avatar_url":"https://avatars.githubusercontent.com/u/963093?v=3","gravatar_id":"","url":"https://api.github.com/users/scottdraves","html_url":"https://github.com/scottdraves","followers_url":"https://api.github.com/users/scottdraves/followers","following_url":"https://api.github.com/users/scottdraves/following{/other_user}","gists_url":"https://api.github.com/users/scottdraves/gists{/gist_id}","starred_url":"https://api.github.com/users/scottdraves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottdraves/subscriptions","organizations_url":"https://api.github.com/users/scottdraves/orgs","repos_url":"https://api.github.com/users/scottdraves/repos","events_url":"https://api.github.com/users/scottdraves/events{/privacy}","received_events_url":"https://api.github.com/users/scottdraves/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T02:53:10Z","updated_at":"2015-09-08T02:53:10Z","body":":+1: "}}