{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview/issues/82","repository_url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview","labels_url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview/issues/82/comments","events_url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview/issues/82/events","html_url":"https://github.com/asciidoctor/atom-asciidoc-preview/issues/82","id":71941311,"number":82,"title":"Add option to sync scroll of editor and preview","user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars.githubusercontent.com/u/79351?v=3","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-29T17:49:08Z","updated_at":"2016-04-26T04:56:58Z","closed_at":null,"body":"It would be nice to have an option that syncs the scroll of the editor and the preview. You can see an example of the feature in the following video from Beegit.\r\n\r\nhttp://blog.beegit.com/new_features/2015/04/29/scroll-sync-release/\r\n\r\nWe can likely use the AST to figure out what part of the preview aligns with the source and update the scroll offset accordingly. I don't expect that it would be a smooth scroll (like in the video), just that the preview is showing the content that corresponds to what is visible in the editor."},"comment":{"url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview/issues/comments/214616479","html_url":"https://github.com/asciidoctor/atom-asciidoc-preview/issues/82#issuecomment-214616479","issue_url":"https://api.github.com/repos/asciidoctor/atom-asciidoc-preview/issues/82","id":214616479,"user":{"login":"JohnLukeBentley","id":18357541,"avatar_url":"https://avatars.githubusercontent.com/u/18357541?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnLukeBentley","html_url":"https://github.com/JohnLukeBentley","followers_url":"https://api.github.com/users/JohnLukeBentley/followers","following_url":"https://api.github.com/users/JohnLukeBentley/following{/other_user}","gists_url":"https://api.github.com/users/JohnLukeBentley/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnLukeBentley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnLukeBentley/subscriptions","organizations_url":"https://api.github.com/users/JohnLukeBentley/orgs","repos_url":"https://api.github.com/users/JohnLukeBentley/repos","events_url":"https://api.github.com/users/JohnLukeBentley/events{/privacy}","received_events_url":"https://api.github.com/users/JohnLukeBentley/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T04:56:58Z","updated_at":"2016-04-26T04:56:58Z","body":"A temporary workaround is to use the http://asciidocfx.com/ editor, which has autoscrolling out of the box."}}