xiota / geany-preview

Turns Geany into a markdown editor by providing a preview pane in the sidebar to show the formatting of several light-weight languages as they are edited. Supported document types include AsciiDoc, DocBook, Fountain, HTML, LaTeX, Markdown, MediaWiki, reStructuredText, Textile, and Txt2Tags.
GNU General Public License v3.0
12 stars 0 forks source link

HTML: the content of the preview is shaking one time when typing in the editor #41

Open ralf3u opened 2 years ago

ralf3u commented 2 years ago

condition snippet_html=false long text, so there is a scrollbar in the preview Document>Line Wrapping

steps to reproduce 1: in the preview-tab: place the scrollbar in the middle 2: in the editor: go at the end of the HTML-document and type some text

result there is one time a shake in the preview-tab

expectation there should be no shake in the preview-tab

xiota commented 1 year ago

This is a side effect of updating the preview when the changes are outside of its view. Don't know how to fix it unless there is a way to detect when the text the user is editing is not visible so that the update can be delayed.