|
org.netbeans.modules.editor.lib2/1 1.8.0 2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
See:
Description
| Editor Library 2 | |
|---|---|
| org.netbeans.api.editor | |
| org.netbeans.spi.editor.codegen | The Code Generator SPI gives modules a chance to plug their own code generators into the popup that appears in the editor on the Insert Code action invocation. |
| 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.
The Code Generation SPI consists of two interfaces.
The CodeGenerator implementations registered for
various mime types serve for creating code snippets and inserting
them into documents on the Insert Code editor action invocation.
The CodeGeneratorContextProvider implementations
registered for the mime types could provide the respective
CodeGenerators with an additional context information.
The HighlightAttributeValue allows specifying highlights
with attributes, which value is lazily evaluated at the time when
the attrbute is used. For example when specifying tooltips.
The EditorRegistry allows to get focused and last focused text component
and list of all registered components and it allows to listen for currently focused
component and changes of documents in it.
The AttributesUtilities class has been moved to
editor/settings module.
The module was created.
org.netbeans.spi.editor.highlighting package
overview.
|
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
|
org.netbeans.modules.editor.lib2/1 1.8.0 2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||