From 7b516b0dd378a94de3f9a3796e1e7da5a6228f27 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 7 Nov 2018 14:24:54 +0100 Subject: [PATCH] Restore API required by Rider --- .../openapi/editor/colors/impl/AbstractColorsScheme.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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();