madflow / flow-netbeans-markdown

Markdown file support for the NetBeans IDE
MIT License
279 stars 40 forks source link

Please scroll preview with the source #119

Open Chris2011 opened 7 years ago

Chris2011 commented 7 years ago

I implemented into the core, to split the document horizontally/vertically with shortcuts, and clear too. Not yet commited and verified but yes. Now it is easy to split the document with a shortcut. So as discussed here in the last comment: https://github.com/madflow/flow-netbeans-markdown/issues/42#issuecomment-144151615 it would be nice, if we split the document, if you scroll inside the source view, the preview view should scroll with it too. As you can see it here: http://dillinger.io/

It is a setting, you can set "Scroll Sync on" in the top right corner. This should be an option too for this plugin.

Regards

Chris

stengerh commented 7 years ago

For anyone who hasn't tried the implementation on dillinger.io: It synchronises the relative position of the scroll bars in the source and preview views. Lining up corresponding parts (like a diff view) would be considerably more complex.