CodeMirrorEditor.findMatchingBracket method
CodeMirrorEditor › findMatchingBracket
Unofficial
Find the matching bracket for the bracket at the given position.Signature:
findMatchingBracket(pos: EditorPosition): MatchingBracketParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | EditorPosition | The position of the bracket to match. |
Returns: MatchingBracket — The matching bracket result.