{"action":"created","issue":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/2721","labels_url":"https://api.github.com/repos/ajaxorg/ace/issues/2721/labels{/name}","comments_url":"https://api.github.com/repos/ajaxorg/ace/issues/2721/comments","events_url":"https://api.github.com/repos/ajaxorg/ace/issues/2721/events","html_url":"https://github.com/ajaxorg/ace/issues/2721","id":113172296,"number":2721,"title":"tooltipFollowsMouse: false throws error","user":{"login":"matthew-dean","id":414752,"avatar_url":"https://avatars.githubusercontent.com/u/414752?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-dean","html_url":"https://github.com/matthew-dean","followers_url":"https://api.github.com/users/matthew-dean/followers","following_url":"https://api.github.com/users/matthew-dean/following{/other_user}","gists_url":"https://api.github.com/users/matthew-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-dean/subscriptions","organizations_url":"https://api.github.com/users/matthew-dean/orgs","repos_url":"https://api.github.com/users/matthew-dean/repos","events_url":"https://api.github.com/users/matthew-dean/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-dean/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-24T17:05:12Z","updated_at":"2015-10-27T21:35:09Z","closed_at":"2015-10-27T20:46:11Z","body":"After turning off ```tooltipFollowsMouse```, and testing with setting an annotation, an error is thrown on hover. The issue is here:\r\n```\r\nvar gutterElement = gutter.$cells[editor.session.documentToScreenRow(row, 0)].element;\r\n```\r\nIn debugging, it looks like ```editor.session.documentToScreenRow(row, 0)``` returns the actual line position of the annotation. However, ```gutter.$cells``` appears to be an array of the \"on-screen\" cells. So, in my case, ```gutter.$cells``` stops at 40, and the returned value from ```documentToScreenRow``` was 389. Therefore the error thrown is: \"Cannot read property 'element' of undefined\"."},"comment":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/comments/151652609","html_url":"https://github.com/ajaxorg/ace/issues/2721#issuecomment-151652609","issue_url":"https://api.github.com/repos/ajaxorg/ace/issues/2721","id":151652609,"user":{"login":"matthew-dean","id":414752,"avatar_url":"https://avatars.githubusercontent.com/u/414752?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-dean","html_url":"https://github.com/matthew-dean","followers_url":"https://api.github.com/users/matthew-dean/followers","following_url":"https://api.github.com/users/matthew-dean/following{/other_user}","gists_url":"https://api.github.com/users/matthew-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-dean/subscriptions","organizations_url":"https://api.github.com/users/matthew-dean/orgs","repos_url":"https://api.github.com/users/matthew-dean/repos","events_url":"https://api.github.com/users/matthew-dean/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-dean/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T21:35:09Z","updated_at":"2015-10-27T21:35:09Z","body":"Thanks @nightwing!"}}