diff --git a/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AbstractColorsScheme.java b/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AbstractColorsScheme.java index efd876272f51..16ef682d788c 100644 --- a/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AbstractColorsScheme.java +++ b/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AbstractColorsScheme.java @@ -179,6 +179,15 @@ public abstract class AbstractColorsScheme extends EditorFontCacheImpl implement return myColorsMap.keySet(); } + /** + * Returns the attributes defined in this scheme (not inherited from a parent). + */ + @SuppressWarnings("unused") // for Rider + @NotNull + public Map getDirectlyDefinedAttributes() { + return new HashMap<>(myAttributesMap); + } + @Override public void setEditorFontName(String fontName) { ModifiableFontPreferences currPreferences = ensureEditableFontPreferences();