|
org.netbeans.modules.editor.lib2/1 1.13.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.
EditorRegistry.COMPONENT_REMOVED_PROPERTY is fired when a component is removed from component hierarchy.
DialogBinding allows for content of some text component to be virtually placed to the given offset inside of a file or document. This way, the necessary context is provided for code completion and similar features to work in any text component.
EditorActionRegistration allows to easily register an editor action into the list of actions of an editor kit. It also allows a lazy action's class loading (more details in javadoc).
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.
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.13.0 2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||