This document lists changes made to the Editor Indent 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.indent/1 > 1.20
Context; made by: jlahoda
org.netbeans.modules.editor.indent.spi.support.AutomatedIndenting; made by: dbalek
IndentUtils; made by: mmetelka; issues: #192289
CodeStylePreferences; made by: vstejskal; issues: #178311
CodeStylePreferences.Providerinterface in order to allow isolating the project-dependent code style preferences storage from the rest of the editor infrastructure.
Context; made by: dkonecny; issues: #159479
org.netbeans.modules.editor.indent.spi.support.AutomatedIndenting; made by: vstejskal; issues: #120357
AutomatedIndentingsupport class provides regex-based automatic re-indentation of lines as user types. This is a replacement for the deprecated
Indent; made by: vstejskal; issues: #120357
int Indent.indentNewLine(int)was added as a replacement for the old
int Formatter.indentNewLine(BaseDocument, int).
CodeStylePreferences; made by: vstejskal; issues: #141974
CodeStylePreferencesclass was added in order to unify access to editor formatting/indentation preferences (ie. code style).
The API/SPI classes were moved from the official
org.netbeans.spi packages and the stability level
of the API was set to
devel to indicate that the module
and its API is still under development. The major version of the
module was set to
2 to mark the incompatible change.
There was not enough time in the Netbeans 6.0 release timeframe for us to fully stabilize the APIs offered by this module. Therefore we decided to release the development version of the APIs and do a full API review in the next release cycle.
Context.indentRegions() methods (including Context.Region class).
Context.modifyIndent() signature and implementation.