{"action":"created","issue":{"url":"https://api.github.com/repos/jbt/mdEdit/issues/8","labels_url":"https://api.github.com/repos/jbt/mdEdit/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jbt/mdEdit/issues/8/comments","events_url":"https://api.github.com/repos/jbt/mdEdit/issues/8/events","html_url":"https://github.com/jbt/mdEdit/issues/8","id":82776636,"number":8,"title":"Need a whole pile of functions and events for measuring / scrolling","user":{"login":"jbt","id":120506,"avatar_url":"https://avatars.githubusercontent.com/u/120506?v=3","gravatar_id":"","url":"https://api.github.com/users/jbt","html_url":"https://github.com/jbt","followers_url":"https://api.github.com/users/jbt/followers","following_url":"https://api.github.com/users/jbt/following{/other_user}","gists_url":"https://api.github.com/users/jbt/gists{/gist_id}","starred_url":"https://api.github.com/users/jbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbt/subscriptions","organizations_url":"https://api.github.com/users/jbt/orgs","repos_url":"https://api.github.com/users/jbt/repos","events_url":"https://api.github.com/users/jbt/events{/privacy}","received_events_url":"https://api.github.com/users/jbt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-30T10:47:55Z","updated_at":"2015-07-08T17:16:22Z","closed_at":null,"body":"A few events and methods look like they're gonna be essential to implement nice chained scrolling in a side-by-side editor:\r\n\r\n * Get the Y-position of a given line or collection of lines (also, how does this work with wrapping?)\r\n * Scroll to a given Y position\r\n * Get the current scroll state + view dimensions\r\n * Fire events on scroll\r\n\r\nAll but the first one are of course possible with standard DOM events. Being able to measure to a certain line or collection without thrashing layout could be somewhat trickier."},"comment":{"url":"https://api.github.com/repos/jbt/mdEdit/issues/comments/119668338","html_url":"https://github.com/jbt/mdEdit/issues/8#issuecomment-119668338","issue_url":"https://api.github.com/repos/jbt/mdEdit/issues/8","id":119668338,"user":{"login":"jbt","id":120506,"avatar_url":"https://avatars.githubusercontent.com/u/120506?v=3","gravatar_id":"","url":"https://api.github.com/users/jbt","html_url":"https://github.com/jbt","followers_url":"https://api.github.com/users/jbt/followers","following_url":"https://api.github.com/users/jbt/following{/other_user}","gists_url":"https://api.github.com/users/jbt/gists{/gist_id}","starred_url":"https://api.github.com/users/jbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbt/subscriptions","organizations_url":"https://api.github.com/users/jbt/orgs","repos_url":"https://api.github.com/users/jbt/repos","events_url":"https://api.github.com/users/jbt/events{/privacy}","received_events_url":"https://api.github.com/users/jbt/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T17:16:22Z","updated_at":"2015-07-08T17:16:22Z","body":"Grabbing cursor position too"}}