See: Description
Package | Description |
---|---|
org.netbeans.editor | |
org.netbeans.editor.ext |
Completion Design View
|
org.netbeans.editor.view.spi | |
org.netbeans.lib.editor.hyperlink.spi | |
org.netbeans.lib.editor.view |
The editor functionality are mainly implementations of the Swing Text package APIs plus extension features such as Syntax Coloring, Code Completion, Word Matching, Abbreviations or Macros.
The library part is located under editor/lib/src folder.
It depends on the following classes from openide:
org.openide.DialogDescriptor org.openide.DialogDisplayer org.openide.ErrorManager org.openide.NotifyDescriptor org.openide.util.Lookup org.openide.util.LookupListener org.openide.util.LookupEvent org.openide.util.NbBundle org.openide.util.RequestProcessor org.openide.util.Task
The above classes should remain to be isolated in a sense that they operate without loading other openide classes (if they need an implementation class they get it from Lookup).
org.netbeans.lib.editor.hyperlink.spi
allows the editors for a particular mime-type to respond to the situation
when a user hovers over the text with a Ctrl key pressed.
HyperlinkProvider
class that contains a javadoc with instructions
about how to register the implementation in the xml layer for the given
mime-type (mentioned in the layer section here as well).
Document data handling and implementation was separated into editor.document
module
BaseCaret handling of folding was factored out. BaseCaret still implements the FoldHierarchyListener, but should not be used as a listener on a hierarchy, and will not attach itself. BaseCaret's listener method does nothing.
Folding actions from ActionFactory were deprecated, they moved to editor.fold.nbui module. Public classes in
org.netbeans.editor.ActionFactory
were changed to delegators to the actual actions registered
with the component's EditorKit.
The method helps to ensure that the caret, if it was originally visible on the screen, will remain visible after some view hierarchy change (i.e. define a new fold).
The interface org.netbeans.editor.SideBarFactory
was
adopted to editor.lib2
. The original interface was
deprecated. Clients should start using the relocated interface.
The search actions from ActionFactory where moved to editor.search module. DocumentFinder was removed as unused by new search implementation.
check-sigtest: [mkdir] Created dir: /home/mito/nb/develop/editor.lib/build/test/sigtest/results [sigtest] /home/mito/nb/develop/editor.lib/build/test/sigtest/results/org.netbeans.modules.editor.lib [sigtest] Packages: org.netbeans.editor.*, org.netbeans.editor.ext.*, org.netbeans.editor.view.spi.*, org.netbeans.lib.editor.hyperlink.spi.*, org.netbeans.lib.editor.view.* [sigtest] [sigtest] email: api-changes@netbeans.org [sigtest] SignatureTest report [sigtest] Base version: 3.34.0 [sigtest] Tested version: 3.34.0 [sigtest] Check mode: bin [throws removed] [sigtest] Constant checking: on [sigtest] [sigtest] [sigtest] Class org.netbeans.editor.ActionFactory$FindNextAction [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.ActionFactory$FindNextAction [sigtest] [sigtest] Class org.netbeans.editor.ActionFactory$FindPreviousAction [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.ActionFactory$FindPreviousAction [sigtest] [sigtest] Class org.netbeans.editor.ActionFactory$FindSelectionAction [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.ActionFactory$FindSelectionAction [sigtest] [sigtest] Class org.netbeans.editor.ActionFactory$ToggleHighlightSearchAction [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.ActionFactory$ToggleHighlightSearchAction [sigtest] [sigtest] Class org.netbeans.editor.DocumentFinder [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.DocumentFinder [sigtest] [sigtest] Class org.netbeans.editor.DocumentFinder$FindReplaceResult [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.DocumentFinder$FindReplaceResult [sigtest] [sigtest] /home/mito/nb/develop/editor.lib/build/test/sigtest/results/org-netbeans-modules-editor-lib.xml: 1 failures in /home/mito/nb/develop/editor.lib/nbproject/org-netbeans-modules-editor-lib.sig
|
|
|
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
Built on March 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.