lsegal / atom-rst-preview

Open a rendered version of the ReStructuredText in the current editor with `ctrl-shift-r`.
Other
22 stars 80 forks source link

Automatically scroll window to the bottom #38

Open keul opened 8 years ago

keul commented 8 years ago

Intro

I found this annoying issue using the plugin for writing a long RST text, so not esactly the usage for a development environment. Still, I'll try to report this.

Behavior

Every time you write an additional character inside the rst file window, the preview window is automatically refreshed (which is cool) but also scrolls to the top of the window. So, when you are writing something below the line, the auto-refresh become useless, and annoying.

Probably a better behavior would be to scroll to the bottom, as usually people write bottom-down. Or even better: keep the focus onto the modified section (possible?)

mkj-csplab commented 8 years ago

I have this problem too, it diminishes the usefulness of the live-preview, when the preview is not where the newly written text is.

luzpaz commented 5 years ago

I'm thankful for this plugin for sure but I agree, this is a quirk that I would like very much to be fixed.