This document lists changes made to the Editor Library 2 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.lib2/1 > 1.20
MimePath; made by: sdedic; issues: #226122
getIncludedPaths can be now used to compute all MimePaths that should
be considered for the content. In the past, reflection was used to access this functionality.
getInheritedType provides generalized or parent MIME type for the content,
which allows to search settings (services) fallbacks.
Class2LayerFolderhas been deprecated and is ignored.
@MimeRegistrationsthat allow to register services to the MimeLookup.
MimeLookup.getLookup(String mimePath)converts the (usually held) string mimePath to the
validate(CharSequence type, CharSequence subtype)methods were added to the
MimePathclass to allow validating mime paths and mime type components.
Built on January 23 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.