This document lists changes made to the Editor Library 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.
DrawLayer
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.lib/1 > 1.20
DrawLayer
org.netbeans.editor.ActionFactory
org.netbeans.editor.Annotations
org.netbeans.editor.BaseCaret
org.netbeans.editor.SideBarFactory
org.netbeans.editor.ext.ToolTipSupport
Document data handling and implementation was separated into editor.document
module
BaseCaret
ActionFactory
; made by: sdedic; issues:
#226368
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.
BaseCaret
; made by: sdedic; issues:
#226368
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).
SideBarFactory
; made by: sdedic; issues:
#226877
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
Annotations
; made by: dstrupl; issues:
#197623
Two methods containing the word "pasive" were renamed to contain "passive".
The old find apis and implementations (org.netbeans.editor.FindSupport
& co.)
has been removed. The current implementation is in editor.lib2 and editor.search
The exact API changes are listed in the sigtest report below.
-sigtest-init: [echo] sigtest check: editor.lib; cnb: org-netbeans-modules-editor-lib; email: api-changes@netbeans.org; type: check 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.29.0 [sigtest] Tested version: 3.29.0 [sigtest] Check mode: bin [throws removed] [sigtest] Constant checking: on [sigtest] [sigtest] [sigtest] Class org.netbeans.editor.FindSupport [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.FindSupport [sigtest] [sigtest] Class org.netbeans.editor.FindSupport$SearchPatternWrapper [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.FindSupport$SearchPatternWrapper [sigtest] [sigtest] Class org.netbeans.editor.ext.ExtKit$FindAction [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.ext.ExtKit$FindAction [sigtest] [sigtest] Class org.netbeans.editor.ext.ExtKit$ReplaceAction [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.ext.ExtKit$ReplaceAction [sigtest] [sigtest] Class org.netbeans.editor.ext.FindDialogPanel [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.ext.FindDialogPanel [sigtest] [sigtest] Class org.netbeans.editor.ext.FindDialogSupport [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.ext.FindDialogSupport [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
ToolTipSupport
; made by: sdedic; issues:
#216245
When the tooltip is being shown (setTooltipVisible(true)
),
the ToolTipSupport attempts to build the tooltip from the view hierarchy,
based on mouse position. This may fail, if the tooltip was initiated in
other way, than mouse hover, or even programmatically.
The new setTooltipVisible
overload allows to skip the step
during the process of showing the tooltip.
Tooltips are usually positioned above/below the caret, so they appear in the area the user is focused on.
Some tooltips however should be displayed above or next to the editor window, e.g. begin/end of a code block,
which is alredy off the visible area. This change allows to specify Point
relative to the
view or the scroller, where the tooltip should appear.
Editors/.../GlyphGutterActions
can now specify on which annotations they need to be invoked. Supported annotation value (set using
putValue
):
Change in assert to fix inserting empty text to TypedTextInterceptor.MutableContext
Replace is done before perform insert, before typing hooks insert method
The old formatting API (org.netbeans.editor.Formatter
& co.)
has been deprecated and moved to editor.deprecated.pre65formatting
module.
The exact API changes are listed in the sigtest report below.
-sigtest-init: [echo] sigtest check: editor.lib; cnb: org-netbeans-modules-editor-lib; email: api-changes@netbeans.org; type: check check-sigtest: [mkdir] Created dir: /work/netbeans/main2m/editor.lib/build/test/sigtest/results [sigtest] /work/netbeans/main2m/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] Missing /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/rt.jar [sigtest] [sigtest] email: api-changes@netbeans.org [sigtest] SignatureTest report [sigtest] Base version: 2.11.0 [sigtest] Tested version: 2.11.0 [sigtest] Check mode: bin [throws removed] [sigtest] Constant checking: on [sigtest] [sigtest] [sigtest] Class org.netbeans.editor.BaseDocument [sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseDocument.getFormatter() [sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseDocument.getLegacyFormatter() [sigtest] [sigtest] Class org.netbeans.editor.BaseKit [sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseKit.createFormatter() [sigtest] [sigtest] Class org.netbeans.editor.BaseKit$PasteAction [sigtest] "E1.2 - API type removed" : method public static void org.netbeans.editor.BaseKit$PasteAction.indentBlock(org.netbeans.editor.BaseDocument,int,int) [sigtest] [sigtest] Class org.netbeans.editor.Formatter [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.Formatter [sigtest] [sigtest] Class org.netbeans.editor.GuardedDocument [sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseDocument.getFormatter() [sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseDocument.getLegacyFormatter() [sigtest] [sigtest] Class org.netbeans.editor.ext.AbstractFormatLayer [sigtest] "E1.2 - API type removed" : CLASS public abstract org.netbeans.editor.ext.AbstractFormatLayer [sigtest] [sigtest] Class org.netbeans.editor.ext.ExtFormatSupport [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.ext.ExtFormatSupport [sigtest] [sigtest] Class org.netbeans.editor.ext.ExtFormatter [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.ext.ExtFormatter [sigtest] [sigtest] Class org.netbeans.editor.ext.ExtFormatter$Simple [sigtest] "E1.2 - API type removed" : CLASS public static org.netbeans.editor.ext.ExtFormatter$Simple [sigtest] [sigtest] Class org.netbeans.editor.ext.ExtKit [sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseKit.createFormatter() [sigtest] [sigtest] Class org.netbeans.editor.ext.FormatLayer [sigtest] "E1.2 - API type removed" : CLASS public abstract interface org.netbeans.editor.ext.FormatLayer [sigtest] [sigtest] Class org.netbeans.editor.ext.FormatSupport [sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.editor.ext.FormatSupport [sigtest] [sigtest] Class org.netbeans.editor.ext.FormatTokenPosition [sigtest] "E1.2 - API type removed" : CLASS public abstract interface org.netbeans.editor.ext.FormatTokenPosition [sigtest] [sigtest] Class org.netbeans.editor.ext.FormatWriter [sigtest] "E1.2 - API type removed" : CLASS public final org.netbeans.editor.ext.FormatWriter [sigtest] [sigtest] /work/netbeans/main2m/editor.lib/build/test/sigtest/results/org-netbeans-modules-editor-lib.xml: 1 failures in /work/netbeans/main2m/editor.lib/nbproject/org-netbeans-modules-editor-lib.sig BUILD FAILED Signature tests return code is wrong (1), check the messages above
Adding flags to o.n.editor.ext.ToolTipSupport
class that control
tooltip behavior such as if the tooltip should be hidden on mouse move, timeout, etc.
The flags are FLAG_HIDE_ON_MOUSE_MOVE
, FLAG_HIDE_ON_TIMER
, FLAG_PERMANENT
and FLAGS_LIGHTWEIGHT_TOOLTIP
, FLAGS_HEAVYWEIGHT_TOOLTIP
.
A new method ToolTipSupport.setTooltip()
accepting the additional flags
parameter has also been added.
Adding o.n.editor.Utilities.createSingleLineEditor(String mimeType)
method
in order to give modules a unified way of creating simple TextField
-like
controls.
A bunch of listener methods were accidentally made publically visible when ToolTipSupport class was first introduced. These were now removed and marked by @PatchedPublic in order to preserve binary compatibility.
Making o.n.editor.ext.ToolTipSupport
public in order to allow
modules to use custom tooltip components and have full control over their
displaying.
o.n.editor.Registry
was internally bridged to o.n.api.editor.EditorRegistry
and some of its methods were removed from API. @PatchedPublic
was used to preserve binary compatibility.
The whole class has been deprecated for a long time
and its usage is discouraged in favor of EditorRegistry
.
Removing DrawLayer and related classes and methods. This part of the API has been long time deprecated
and replaced by Highlighting SPI on editor.lib2
module.
Add flag hideBottomPadding to GapDocumentView constructor. Subclasses should override this constructor to pass this flag to superclass constructor.
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 old settings API (org.netbeans.editor.Settings
& co.)
has been deprecated and moved to editor.deprecated.pre61settings
module.
Also the old completion API (org.netbeans.editor.ext.Completion
& co.)
has been deprecated and moved to editor.deprecated.pre61completion
module.
The exact API changes are listed in the sigtest report below.
SignatureTest report Base version: 1.26.0 Tested version: 1.27.0 Check mode: src [throws normalized] Constant checking: on Warning: public class org.netbeans.editor.BaseView can't be extended because contains the following member: method abstract void org.netbeans.editor.BaseView.modelToViewDG(int,org.netbeans.editor.DrawGraphics) throws javax.swing.text.BadLocationException Missing Classes --------------- org.netbeans.editor.BaseSettingsInitializer org.netbeans.editor.Settings org.netbeans.editor.Settings$AbstractInitializer org.netbeans.editor.Settings$Evaluator org.netbeans.editor.Settings$Filter org.netbeans.editor.Settings$FilterInitializerSorter org.netbeans.editor.Settings$Initializer org.netbeans.editor.Settings$InitializerSorter org.netbeans.editor.Settings$KitAndValue org.netbeans.editor.SettingsChangeEvent org.netbeans.editor.SettingsChangeListener org.netbeans.editor.SettingsDefaults org.netbeans.editor.SettingsNames org.netbeans.editor.SettingsUtil org.netbeans.editor.SettingsUtil$FontStylePrintColoringEvaluator org.netbeans.editor.SettingsUtil$ForeColorPrintColoringEvaluator org.netbeans.editor.SettingsUtil$PrintColoringEvaluator org.netbeans.editor.SettingsUtil$TokenColoringEvaluator org.netbeans.editor.SettingsUtil$TokenColoringInitializer org.netbeans.editor.ext.Completion org.netbeans.editor.ext.CompletionJavaDoc org.netbeans.editor.ext.CompletionJavaDoc$JavaDocTagItem org.netbeans.editor.ext.CompletionPane org.netbeans.editor.ext.CompletionQuery org.netbeans.editor.ext.CompletionQuery$AbstractResult org.netbeans.editor.ext.CompletionQuery$AbstractResultItem org.netbeans.editor.ext.CompletionQuery$DefaultResult org.netbeans.editor.ext.CompletionQuery$DefaultResultItem org.netbeans.editor.ext.CompletionQuery$Result org.netbeans.editor.ext.CompletionQuery$ResultItem org.netbeans.editor.ext.CompletionQuery$ResultItemAssociatedObject org.netbeans.editor.ext.CompletionQuery$SupportsSpeculativeInvocation org.netbeans.editor.ext.CompletionView org.netbeans.editor.ext.ExtCompletionPane org.netbeans.editor.ext.ExtEditorUI org.netbeans.editor.ext.ExtSettingsDefaults org.netbeans.editor.ext.ExtSettingsInitializer org.netbeans.editor.ext.ExtSettingsNames org.netbeans.editor.ext.ExtUtilities org.netbeans.editor.ext.HTMLJavaDocView org.netbeans.editor.ext.JDCPopupPanel org.netbeans.editor.ext.JavaDocPane org.netbeans.editor.ext.JavaDocView org.netbeans.editor.ext.ListCompletionView org.netbeans.editor.ext.ScrollCompletionPane org.netbeans.editor.ext.ScrollJavaDocPane org.netbeans.editor.ext.ScrollJavaDocPane$BrowserButton org.netbeans.editor.ext.ScrollJavaDocPane$HyperlinkAction Missing Superclasses or Superinterfaces --------------------------------------- org.netbeans.editor.Abbrev: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.BaseCaret: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.BaseDocument: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.BaseDocument: interface java.util.EventListener org.netbeans.editor.BaseTextUI: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.CodeFoldingSideBar: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.CodeFoldingSideBar: interface java.util.EventListener org.netbeans.editor.DrawLayerFactory$BlockSearchLayer: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.DrawLayerFactory$BlockSearchLayer: interface java.util.EventListener org.netbeans.editor.DrawLayerFactory$IncSearchLayer: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.DrawLayerFactory$IncSearchLayer: interface java.util.EventListener org.netbeans.editor.EditorUI: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.Formatter: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.Formatter: interface java.util.EventListener org.netbeans.editor.GlyphGutter: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.GuardedDocument: interface java.util.EventListener org.netbeans.editor.GuardedDocument: interface org.netbeans.editor.SettingsChangeListener org.netbeans.editor.StatusBar: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.WordMatch: interface @ org.netbeans.editor.SettingsChangeListener org.netbeans.editor.ext.ExtCaret: interface org.netbeans.editor.SettingsChangeListener org.netbeans.editor.ext.ExtFormatter: interface java.util.EventListener org.netbeans.editor.ext.ExtFormatter: interface org.netbeans.editor.SettingsChangeListener org.netbeans.editor.ext.ToolTipSupport: interface @ org.netbeans.editor.SettingsChangeListener Missing Constructors -------------------- org.netbeans.editor.ext.ToolTipSupport: constructor public org.netbeans.editor.ext.ToolTipSupport.ToolTipSupport(org.netbeans.editor.ext.ExtEditorUI) Missing Methods --------------- org.netbeans.editor.Abbrev: method public void org.netbeans.editor.Abbrev.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.ActionFactory$AbbrevExpandAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$AbbrevResetAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$AdjustCaretAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$AdjustWindowAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$AnnotationsCyclingAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ChangeCaseAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$CollapseAllFolds: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$CollapseFold: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$CutToLineBeginOrEndAction:method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$DumpViewHierarchyAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ExpandAllFolds: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ExpandFold: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$FindNextAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$FindPreviousAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$FindSelectionAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$FirstNonWhiteAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$FormatAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$GenerateGutterPopupAction:method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$InsertDateTimeAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$JumpListNextAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$JumpListNextComponentAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$JumpListPrevAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$JumpListPrevComponentAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$LastNonWhiteAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$RedoAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ReindentLineAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$RemoveLineAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$RemoveLineBeginAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$RemoveSelectionAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$RemoveTabAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$RemoveWordNextAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$RemoveWordPreviousAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ScrollDownAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ScrollUpAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$SelectIdentifierAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$SelectNextParameterAction:method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ShiftLineAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$StartMacroRecordingAction:method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$StartNewLine: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$StopMacroRecordingAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ToggleHighlightSearchAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ToggleLineNumbersAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$ToggleTypingModeAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$UndoAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ActionFactory$WordMatchAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseCaret: method public void org.netbeans.editor.BaseCaret.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.BaseDocument: method public void org.netbeans.editor.BaseDocument.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.BaseKit: method public java.util.List org.netbeans.editor.BaseKit.translateActionNameList(java.util.List) org.netbeans.editor.BaseKit$BackwardAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$BeepAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$BeginAction:method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$BeginLineAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$BeginWordAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$CompoundAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$CopyAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$CutAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$DefaultKeyTypedAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$DeleteCharAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$DownAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$EndAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$EndLineAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$EndWordAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$ForwardAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$InsertBreakAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$InsertContentAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$InsertStringAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$InsertTabAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$KitCompoundAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$NextWordAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$PageDownAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$PageUpAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$PasteAction:method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$PreviousWordAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$ReadOnlyAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$RemoveTrailingSpacesAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$SelectLineAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$SplitLineAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$UpAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseKit$WritableAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.BaseTextUI: method public void org.netbeans.editor.BaseTextUI.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.CodeFoldingSideBar: method public void org.netbeans.editor.CodeFoldingSideBar.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.DrawLayerFactory$BlockSearchLayer: method public void org.netbeans.editor.DrawLayerFactory$BlockSearchLayer.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.DrawLayerFactory$IncSearchLayer: method public void org.netbeans.editor.DrawLayerFactory$IncSearchLayer.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.EditorUI: method public void org.netbeans.editor.EditorUI.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.Formatter: method public void org.netbeans.editor.Formatter.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.GlyphGutter: method public void org.netbeans.editor.GlyphGutter.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.GuardedDocument: method public void org.netbeans.editor.BaseDocument.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.StatusBar: method public void org.netbeans.editor.StatusBar.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.WordMatch: method public void org.netbeans.editor.WordMatch.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.ext.ExtCaret: method public void org.netbeans.editor.ext.ExtCaret.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.ext.ExtFormatter: method public void org.netbeans.editor.ext.ExtFormatter.settingsChange(org.netbeans.editor.SettingsChangeEvent) org.netbeans.editor.ext.ExtKit: method public org.netbeans.editor.ext.Completion org.netbeans.editor.ext.ExtKit.createCompletion(org.netbeans.editor.ext.ExtEditorUI) org.netbeans.editor.ext.ExtKit: method public org.netbeans.editor.ext.CompletionJavaDoc org.netbeans.editor.ext.ExtKit.createCompletionJavaDoc(org.netbeans.editor.ext.ExtEditorUI) org.netbeans.editor.ext.ExtKit$AllCompletionShowAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$CodeSelectAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$CommentAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$CompletionShowAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$CompletionTooltipShowAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$DocumentationShowAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$EscapeAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$FindAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$GotoAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$GotoDeclarationAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$MatchBraceAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$PrefixMakerAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$ReplaceAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$ShowPopupMenuAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$ToggleCaseIdentifierBeginAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ExtKit$UncommentAction: method protected void org.netbeans.editor.BaseAction.settingsChange(org.netbeans.editor.SettingsChangeEvent,java.lang.Class) org.netbeans.editor.ext.ToolTipSupport: method public void org.netbeans.editor.ext.ToolTipSupport.settingsChange(org.netbeans.editor.SettingsChangeEvent) Added Fields ------------ org.netbeans.editor.BaseDocument: field public final static java.lang.String org.netbeans.editor.BaseDocument.MIME_TYPE_PROP = "mimeType" org.netbeans.editor.GuardedDocument: field public final static java.lang.String org.netbeans.editor.BaseDocument.MIME_TYPE_PROP = "mimeType" Added Constructors ------------------ org.netbeans.editor.BaseDocument: constructor public org.netbeans.editor.BaseDocument.BaseDocument(boolean,java.lang.String) org.netbeans.editor.GuardedDocument: constructor public org.netbeans.editor.GuardedDocument.GuardedDocument(java.lang.String) org.netbeans.editor.GuardedDocument: constructor public org.netbeans.editor.GuardedDocument.GuardedDocument(java.lang.String,boolean,javax.swing.text.StyleContext) org.netbeans.editor.ext.ToolTipSupport: constructor public org.netbeans.editor.ext.ToolTipSupport.ToolTipSupport(org.netbeans.editor.EditorUI) Added Methods ------------- org.netbeans.editor.BaseCaret: method public final void org.netbeans.editor.BaseCaret.refresh() org.netbeans.editor.BaseKit: method public java.util.List<javax.swing.Action> org.netbeans.editor.BaseKit.translateActionNameList(java.util.List<java.lang.String>) org.netbeans.editor.EditorUI: method public javax.swing.JPopupMenu org.netbeans.editor.EditorUI.getPopupMenu() org.netbeans.editor.EditorUI: method public org.netbeans.editor.PopupManager org.netbeans.editor.EditorUI.getPopupManager() org.netbeans.editor.EditorUI: method public org.netbeans.editor.ext.ToolTipSupport org.netbeans.editor.EditorUI.getToolTipSupport() org.netbeans.editor.EditorUI: method public void org.netbeans.editor.EditorUI.hidePopupMenu() org.netbeans.editor.EditorUI: method public void org.netbeans.editor.EditorUI.setPopupMenu(javax.swing.JPopupMenu) org.netbeans.editor.EditorUI: method public void org.netbeans.editor.EditorUI.showPopupMenu(int,int) org.netbeans.editor.Formatter: method public static org.netbeans.editor.Formatter org.netbeans.editor.Formatter.getFormatter(java.lang.String) org.netbeans.editor.ext.ExtFormatter: method public static org.netbeans.editor.Formatter org.netbeans.editor.Formatter.getFormatter(java.lang.String) duplicate messages suppressed: 14
BaseDocument.addPostModificationDocumentListener() is an improvement over existing BaseDocument.setPostModificationDocumentListener() which is now deprecated.
Adding several fields related to Thick Line Caret contributed by barty (barth2k at yahoo dot com):
BaseCaret.THICK_LINE_CARET
SettingsNames.THICK_CARET_WIDTH
SettingsDefaults.defaultThickCaretWidth
Adding:
DrawContext.get{set}TopBorderLineColor
DrawContext.get{set}RightBorderLineColor
DrawContext.get{set}BottomBorderLineColor
DrawContext.get{set}LeftBorderLineColor
DrawGraphics.setTopBorderLineColor
DrawGraphics.setRightBorderLineColor
DrawGraphics.setBottomBorderLineColor
DrawGraphics.setLeftBorderLineColor
The use of editor kit implementation class for identifying
the type of a document has been deprecated in favor of mime
types and MimeLookup
. This change deprecates API
methods and construction in BaseDocument
that
accept editor kit implementation class and adds their equivalents
accepting mime type.
Deprecated:
BaseDocument(Class, boolean)
,
GuardedDocument(Class)
,
GuardedDocument(Class, boolean, StyleContext)
,
Formatter.getFormatter(Class)
,
Formatter.setFormatter(Class, Formatter)
Added:
BaseDocument.MIME_TYPE_PROP
,
BaseDocument(boolean, String)
,
GuardedDocument(String)
,
GuardedDocument(String, boolean, StyleContext)
,
Formatter.getFormatter(String)
Deprecating LineSeparatorConversion in favor of
org.netbeans.lib.editor.util.CharacterConversions
.
The BaseDocument.getLegacyFormatter()
was added
to allow the new indent infrastructure to delegate to legacy
formatter in case the new indent API was called explicitly.
The hyperlink providers have been extended to allow:
HyperlinkType
See newly added HyperlinkProviderExt
class.
The BaseDocumentEvent.getChangeAttributes()
was added
in order to be able to find out the attributes supplied
when calling Document.insertString()
.
The ExtKit.ToggleCommentAction
was added as a
replacement for the ExtKit.CommentAction
and
ExtKit.UncommentAction
actions.
Some fields and methods in ExtCaret
and ExtKit
that were related to highlighting matching braces in a document
are no longer supported. There is new Braces Matching SPI available,
which replaces them.
The ExtCaret.setMatchBraceOffset
and the MATCH_BRACE_*
added in 1.14 were removed again. This is in fact no change,
because these methods have never been part of any release.
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.
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.