jbt / markdown-editor

Live (Github-flavored) Markdown Editor
http://jbt.github.com/markdown-editor
ISC License
2.83k stars 644 forks source link

implement chained scrollbars #12

Closed tex closed 9 years ago

tex commented 10 years ago

fixes issue #4 (chained scrollbars)

Updates out div only on change, scrolling with scrollbars is free which is a big plus for me. I want to see when I type / delete something in source document, otherwise I want to freely scroll either in source or in preview panel. The chain is exact, so it doesn't unsync on documents with too much new lines, captions, pictures etc.. like other web-based markdown editors do.

sylvia43 commented 10 years ago

Can we merge this?

thorsummoner commented 10 years ago

:+1: Code looks good, Will test shortly (Assuming I can figure out a test environment)

thorsummoner commented 10 years ago

Thank you @tex Tested on Firefox 30, works!

sylvia43 commented 10 years ago

Awesome. Btw do you have issue #17 ? I want to make sure it's not just me, otherwise I'll see if I have time to take a look into it.

tex commented 10 years ago

@anubiann00b I don't know. I stopped using markdown-editor when my documents got much much larger. Now I'm using vim and (plug) my vim plugin vimpreviewpandoc for realtime preview much similar to markdown-editor.

sylvia43 commented 10 years ago

Cool.