highlightBracketPairsOnHover
highlightBracketPairsOnHover(
codeBlock,pairs):void
Defined in: client/hover.ts:121
Highlights bracket pairs when hovered. Clicking on a pair keeps it highlighted. Clicking anywhere inside the code block removes the highlight.
Parameters
Section titled “Parameters”codeBlock
Section titled “codeBlock”Code block to add bracket pair highlighting to.
string = "()[]{}"
Which characters to match together. The opening character must be followed by the corresponding closing character. Defaults to ”()[]{}”.
Returns
Section titled “Returns”void