Skip to main content

Inconsistent scroll view memory between editor and markdown preview panes

Comments

2 comments

  • Fletcher Penney

    The preview isn't remembering where it was the previous time you viewed the first file, it is staying where it was when you viewed the second file, just with new content (obviously contingent on the second preview being longer than the first.)

     

    When reloading a text file, the previously selected range of text is reselected, triggering a scroll if necessary to ensure that it the selected range is visible.  (It doesn't technically scroll back to the same position.)

    When loading, the preview has not been processed yet, so scrolling doesn't work at first.  We can consider looking into adding more functionality here in the future.

     

    0
  • Addison Lee

    Thanks for the additional context. I have verified that indeed the initial preview location is based on the location of the previous file's preview location.

    FWIW, I would be perfectly satisfied with both the editor and preview windows starting at the very top of the file every time I switch to another file.

    0

Please sign in to leave a comment.

Powered by Zendesk