|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
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/libsrc 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).
The ExtCaret.setMatchBraceOffset
and the MATCH_BRACE_*
constants can be used for customizing the algorithm for
finding a matching bracket. The options are: match a breacket
before caret, after caret or either side.
The JumpList was never meant to be subclassed or instantialized even though the class did not prevent it. It is now final with private constructor; the same for JumpList.Entry class.
DrawLayer
Using DrawLayer
and related classes and methods
has been deprecated in favor of the new Highlighting SPI in
the editor/lib2 module. For more details see
Highlighting SPI.
Adding Coloring.fromAttributeSet
static
method to provide a simple and correct way of converting colorings
from the format used by the new settings infrastructure to
the format used by DrawEngine
and various
DrawLayer
s.
Separate arch and apichanges documents extracted from editor to editor/lib.
|
The sources for the module are in NetBeans CVS in editor/lib directory.
Read more about the implementation in the answers to architecture questions.
|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |