Giter VIP home page Giter VIP logo

Comments (5)

ralf3u avatar ralf3u commented on July 25, 2024

I recognized today that this behavior does also exist with a very long html-document when typing extremely fast with this setting: snippet_html=false. But with snippet_html=true there is no shaking.

It seems to be that it is too much work for the processor. But nevertheless the Preview-tab should not shake.

from geany-preview.

ralf3u avatar ralf3u commented on July 25, 2024

Maybe those thoughts could help to find a solution:

What about the idea to put changes above each other, instead of replacing each time the content. Or, instead of putting all layers above each other, to use only two layers, the old layer and the new layer, so the old content and the new content, so that it will no shake any more.

For me, from all open issues at the moment, this is the most important issue, because it disturbs too much. I understand that the more text exists, the slower changes will appear in the Preview. But at any time there should be no shake at all.

from geany-preview.

xiota avatar xiota commented on July 25, 2024

It looks like the problem is when the CSS is directly embedded in the HTML (no shaking) vs when the CSS file is externally linked (shaking). CSS will be embedded when native Fountain and Markdown processing is used.

Fixed in 2a01f81. PPA will be updated.

from geany-preview.

ralf3u avatar ralf3u commented on July 25, 2024

I made different tests with fountain, md and html with those settings:

snippet_html=true
snippet_markdown=true
snippet_fountain=true
extra_css=extra-media.css & extra_css=disable
no background color in the html

I can confirm that this issue was fixed with the settings above.
Thank you so much for that feature.

from geany-preview.

xiota avatar xiota commented on July 25, 2024

@ralf3u Thanks for confirming.

from geany-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.