MarkdownLivePreview icon indicating copy to clipboard operation
MarkdownLivePreview copied to clipboard

Sync scrolling not working

Open mhkeller opened this issue 5 years ago • 1 comments

I don't seem to get any synced scrolling behavior. I'm on MacOs 10.14 and Sublime 3.2.2 and just installed the plugin today via Package Control. Do I have to enable it somewhere? I don't see it in preferences.

mhkeller avatar Jan 08 '20 19:01 mhkeller

It depends what you mean by sync scrolling.

I don't think there is a way to scroll the preview as you scroll the markdown file, because we can't detect scroll in a view.

All we can do is set the scroll offset when you type. I haven't implemented that in the new version, though looking at v2, it doesn't look like it should be too hard. I'll have a go at it soon (though any PR is more than welcome :slightly_smiling_face:)

math2001 avatar Jan 09 '20 00:01 math2001