This document lists changes made to the Editor Settings 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.
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.settings/1 > 1.20
Adding new constants SimpleValueNames.ON_SAVE_REFORMAT
and SimpleValueNames.ON_SAVE_USE_GLOBAL_SETTINGS
.
Adding new constants
SimpleValueNames.BRACE_SHOW_OUTLINE
and
SimpleValueNames.BRACE_FIRST_TOOLTIP
which control brace outline
behaviour
Adding new constant SimpleValueNames.EDITOR_SEARCH_TYPE
.
Adding new constant SimpleValueNames.ON_SAVE_REMOVE_TRAILING_WHITESPACE
.
Adding new constant SimpleValueNames.NON_PRINTABLE_CHARACTERS_VISIBLE
.
Adding new constant SimpleValueNames.TEXT_LINE_WRAP
.
Adding a new constant SimpleValueNames.ALT_HYPERLINK_ACTIVATION_MODIFIERS
as the name
of an editor setting that determins shortcut for activating alternative (other than go to declaration)
hyperlink action.
Adding new constant SimpleValueNames.JAVADOC_POPUP_NEXT_TO_CC
.
Adding new constant SimpleValueNames.THICK_CARET_WIDTH
.
Adding new constant EditorStyleConstants.RenderingHints
.
Adding new constant to SimpleValueNames
for code folding
related settings.
Adding new constant to SimpleValueNames
as the name
of an editor setting that determins if pair characters should be
autocompleted or not.
Several new constants were added to EditorStyleConstants
to
support drawing rectangular boxes around text in the editor.
The CodeTemplateDescription.getMimePath
and a new
constructor were added to accomodate a mime path where a code
template was registered.
The EditorStyleConstants.Tooltip
constant was added
allowing to specify tooltips in highlighting layers.
The CodeTemplateDescription.getUniqueId
method was added
and the constructor was extended to accept uniqueId
parameter.
The CodeTemplateSettings.getCodeTemplates
signature was changed
to return Collection<CodeTemplateDescription>
instead
of List
. Although an incompatible change this class
had never been functional and should not have been used by anybody.
The AttributesUtilities
class has been added.
Deprecating FontColorSettings.PROP_FONT_COLORS
. It
should have never been made public in the first place. Nobody can
listen on this property anyway and the general contract is that
settings instances in MimeLookup are immutable and if anything
changes the whole instance (e.g. FontColorSettings
) is replaced.
The module is now autoload and it needs the org.netbeans.api.editor.settings.implementation
token. This token is provided by the editor/settings/storage
module
by default.
The FontColorNames and SimpleValueNames classes used to have a default construtor, even though it had never made sense to create instances of them. The default constructors have been removed and a privat noargs constructor has been added to both of them preventing an accidental instantiation.
Editor Settings API was created. It defines settings classes, which can be looked up via mimelookup.