The Braces Matching SPI for implementing BracesMatchers that can search through a document and find matching areas of text.

Implementations of BracesMatcherFactory can be registered in MimeLookup under the mime type of documents that they wish to create BracesMatchers for.

The infrastructure behind the SPI registers a special highlighting layer for visualization of search results provided by registered matchers. The highlighting layer uses Highlighting SPI to colorify parts of a document in a text component that have been identified by matchers. The infrastructure also supplies an action for moving componet's caret between those areas. The action is registered for all supported document types and bound to a shortcut.