com.intellij.lang
Interface PairedBraceMatcher


public interface PairedBraceMatcher

Defines the brace matching support required for a custom language. For paired brace matching to work, the language must also provide a SyntaxHighlighter and return the correct lexer from getHighlightingLexer().

See Also:
Language.getPairedBraceMatcher(), BracePair

Method Summary
 BracePair[] getPairs()
          Returns the array of definitions for brace pairs that need to be matched when editing code in the language.
 

Method Detail

getPairs

BracePair[] getPairs()
Returns the array of definitions for brace pairs that need to be matched when editing code in the language.

Returns:
the array of brace pair definitions.