I’m looking to make a file editor with real time syntax highlighting and with my solution I need to call Prism.highlightElement at each keystroke as a synchronous function.
Currently, if my file has more than 100 lines, I have a time of plus 50 to 100 miliseconds for the function.
Do you know of any other technology that does this but is more suitable for real-time colouring?