4 ms·
The design for syntax highlighting is pretty clever, and makes that feature much more responsive than most in-browser editors. The current line is always black
by jam 16y ago
The design for syntax highlighting is pretty clever, and makes that feature much more responsive than most in-browser editors. The current line is always black text on a light blue background... and then when you move the cursor to a new line, the highlighting is processed.
I've implemented that kind of thing in the past, and making it perform well is always a ton of work. This approach is much more elegant and gets you 90% of the value. I like it!
- phankinson 16y agoGlad you like it. I'd personally like to add personalizition to the IDE so you can customize the colors and editor however pleases you.