public static interface BracesMatcher.ContextLocator
BracesMatcherinstances produced by
BracesMatcherFactory. If implemented, the infrastructure may call the method to obtain additional context for display along with brace highlight. See the
BraceContextfor more information.
BraceContext findContext(int originOrMatchPosition)
Note: the document is not read locked by the caller. If the passed position does
not exist in the document, or seems obsolete, the SPI should return
originOrMatchPosition- position of 'origin' or 'match' brace
nullif the context cannot be provided.