This document lists changes made to the Editor Library 2 API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.editor.lib2/1 > 1.20
org.netbeans.api.editor.DialogBinding
org.netbeans.api.editor.EditorActionRegistration
DefaultKeyTypedAction
,
InsertBreakAction
, etc.
DialogBinding.bindComponentToFile(FileObject fileObject, int line, int column, int length, JTextComponent component)
and DialogBinding.bindComponentToDocument(Document document, int line, int column, int length, JTextComponent component)
.
DialogBinding
; made by: dbalek; issues:
#163769
EditorActionRegistration
; made by: mmetelka; issues:
#150875
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.
HighlightAttributeValue
allows specifying highlights
with attributes, which value is lazily evaluated at the time when
the attrbute is used. For example when specifying tooltips.
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.
AttributesUtilities
class has been moved to
editor/settings
module.
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.