org.netbeans.modules.editor.bracesmatching/0 1.10

Package org.netbeans.spi.editor.bracesmatching

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

See:
          Description

Interface Summary
BracesMatcher The common interface for all matchers.
BracesMatcherFactory The factory for creating BracesMatchers.
 

Class Summary
MatcherContext An immutable context for a BracesMatcher.
 

Package org.netbeans.spi.editor.bracesmatching Description

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.


org.netbeans.modules.editor.bracesmatching/0 1.10

Built on November 20 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.