站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Overview (Editor Library 2) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib2/1 1.3 2

Editor Library 2
Official

The Netbeans editor infrastructure provides an implementation of the Swing Text package APIs as well as some additional features such as syntax coloring, code folding, braces matching, etc.

See:
          Description

Editor Library 2
org.netbeans.spi.editor.highlighting The Highlighting SPI is a new way of influencing how text in an editor component is rendered.
org.netbeans.spi.editor.highlighting.support The support package provides several implementations of the HighlightsContainer interface.

 

The Netbeans editor infrastructure provides an implementation of the Swing Text package APIs as well as some additional features such as syntax coloring, code folding, braces matching, etc.

What is New (see all changes)?

Use Cases

At the moment the Editor Library 2 module contains only the Highlighting SPI, which use cases can be found in the org.netbeans.spi.editor.highlighting package overview.

Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...
Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
editor-highlightingExportedOfficial .../editor/highlighting/package-summary.html

Highlighting SPI

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
HighlightsLayerIncludesExportedOfficial

Defines a regular expression that can be used for filtering out highlighting layers used for rendering a text component. If specified, any layer with id matching the regular expression will be used for rendering the component. By default, when the property is not specified or is null, all layers are used. See
Use case 5. for more details.

HighlightsLayerExcludesExportedOfficial

Defines a regular expression that can be used for filtering out highlighting layers used for rendering a text component. If specified, any layer with id matching the regular expression will not be used for rendering the component. By default, when the property is not specified or is null, all layers are used. See
Use case 5. for more details.

Implementation Details

Where are the sources for the module?

The sources for the module are in NetBeans CVS in editor/lib2 directory.

What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?
Just normal module dependency.

Read more about the implementation in the answers to architecture questions.


org.netbeans.modules.editor.lib2/1 1.3 2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.