No, not another rewrite. Much better than that: the long-standing ugliness of
highlighting being limited to only one node at a time has been fixed.
Previously only one opening node and one closing node could be highlighted.
This was perfectly adequate for most languages where you have one opening
parenthesis and one closing parenthesis. However, consider HTML: we want to
highlight the opening and closing tag, but if we highlight the entire top-level
node we also highlight the attributes of the tag, which looks too vibrant. The
alternative was highlighting the tag name, but this left the angle brackets
without highlighting, which looked jarring as well.
Continue reading…