@MimeLocation(subfolderName="BracesMatchers") public interface BracesMatcherFactory
BracesMatcher
s. Instances of this class
are supposed to be registered in MIME lookup under the mime type of documents
that they wish to provide matching services for.Modifier and Type | Method and Description |
---|---|
BracesMatcher |
createMatcher(MatcherContext context)
Creates a matcher for searching a document for matching areas.
|
BracesMatcher createMatcher(MatcherContext context)
An example of BracesMatcher
could be
a matcher that detects braces, brackets or parenthesis next to a caret
and finds their matching counterparts.
context
- The context to use for searching. It contains
the position of a caret in a document and allows to report results.