p5.js-web-editor
p5.js-web-editor copied to clipboard
fix switching p5.js version deactivates syntax highlighting
Issue:
Fixes #4191
my bad. i was checking for autocompleteHinter instead of p5Version earlier to configure the language, which also includes highlighting.
as a result, the highlight didn't work when switching versions if autocomplete was off.