|
org.netbeans.modules.editor.lib/1 1.43.0 9 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
See:
Description
| Editor Library | |
|---|---|
| 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).
Adding MimeTypeInitializer providing init(mimeType)
method. SideBarFactory implementations
can use this to perform time-consuming operations (ie. lookups) outside AWT.
Making the method EditorUI.textLimitWidth protected
so we are able to override it in NbEditorUI.
Adding a new constant HyperlinkType.ALT_HYPERLINK as the name
for alternative (other than HyperlinkType.GO_TO_DECLARATION) hyperlink action.
BaseDocument.atomicLock() and atomicUnlock () methods deprecated. User should use BaseDocument.runAtomic () instead.
BaseDocument.addUpdateDocumentListener() allows clients to add custom undoable edits into document event (acting as a compound edit).
|
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.lib/1 1.43.0 9 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||