The Editor Caret API opens up the editor to give information about its carets and to manipulate them.
The Editor Caret SPI contains interface(s) to be implemented by clients in order to manipulate the editor carets.
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.
The Highlighting SPI is a new way of influencing how text in an editor component is rendered.
The support package provides several implementations of the
The Typing Hooks SPI allows modules to intercept various key typed events handled by the editor infrastructure.
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.
Renamed ShiftHighlightsSequence to SplitOffsetHighlightsSequence to and its getStartShift() to getStartSplitOffset() for better description and getEndShift() to getEndSplitOffset().
EditorUtilities.addCaretUndoableEdit allows actions to remember caret position during an atomic transaction over a document.
Support for Sticky Windows in the editor. JComponents can be added to a layer on top of the editor. Components will update their vertical position on editor changes.
Swing NavigationFilters implemented on top of the Caret API. Caret API caller may describe the operation which causes the caret to be moved, so that filters and caret listeners can react on specific action groups.
A boilerplate NavigationFilter is provided, that supports chaining of filters on the caret
The EditorRegistry.findComponent() allows caret related undo edits to be undone in a focused component (for multiple views over a single document).
Also simplified naming of EditorActionNames.addCaretUp and addCaretDown.
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
Built on May 25 2016. | Portions Copyright 1997-2016 Oracle. All rights reserved.