Skip to content

highlightBracketPairs

highlightBracketPairs(): BasicExtension

Defined in: extensions/matchBrackets/highlight.ts:16

Extension adding a selectionChange handler to highlight the bracker pair closest to the cursor.

You must to add a BracketMatcher to your editor for this extension to work.

The .active-bracket CSS selector can be used to highlight the brackets.

BasicExtension