luminaxster / syntax-highlighter

An extensible library to highlight (and comment) JSX syntax in the Monaco Editor using Babel. It exposes its AST, so you can add your own syntax-based or custom highlights.
https://luminaxster.github.io/syntax-highlighter/
MIT License
30 stars 4 forks source link

highlightOnDidChangeModelContent error handling #28

Open habahabahaba opened 1 month ago

habahabahaba commented 1 month ago

Hello, and thank you for your work!

Is there a way to pass error handling functions into .highlightOnDidChangeModelContent, like we can do it with . highlightCode(, onError, , onParseErrors)?