Coder Social home page Coder Social logo

Comments (5)

vsch avatar vsch commented on June 4, 2024

Did a test with syntax highlighting using a plain text lexer. Typing issues resolved and Psi parsing is not affected. This means that doing syntax highlighting with external annotator will do the trick and will not affect typing speed like the current implementation does.

from idea-multimarkdown.

vsch avatar vsch commented on June 4, 2024

Temporary fix added option into preferences to turn off syntax highlighting. Annotations remain but this allows faster typing when in creative mode vs validation mode.

from idea-multimarkdown.

vsch avatar vsch commented on June 4, 2024

The issue is now less severe with threading issues addressed. I will be implementing an external annotator which delays syntax highlighting until a later update phase. It will also allow more complex, layered attributes that lexer based syntax highlighting does not handle.

I will have to make the two syntax highlighting methods as options because only lexer based highlighting works in preferences color settings.

from idea-multimarkdown.

vsch avatar vsch commented on June 4, 2024

External annotator based syntax highlighting is now the defeault.

from idea-multimarkdown.

vsch avatar vsch commented on June 4, 2024
  • minimize updates to unchanged parts of the paragraph or table

  • handle IDE skipping calls to handlers when fast typing (or rolling forehead on the
    keyboard).

  • HTML generation was not disabled when only main editor was shown. This would cause

  • Changed default syntax highlighter to external annotator based to reduce typing delay. If
    you want to use lexer based syntax highlighting you will need to change it in
    settings/preferences.

    Fastest typing response is achieved when:

    • syntax highlighting is turned off
    • wrap on typing is disabled
    • auto-format tables is disabled
    • all previews are turned off

from idea-multimarkdown.

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.