From f0e9bf9f4ccaaa8e0b41f28f97fb7b6d15a88363 Mon Sep 17 00:00:00 2001 From: Denis Zhdanov Date: Fri, 10 Apr 2015 10:50:44 +0300 Subject: [PATCH] Make is possible to enhance color schemes from plugin in non-intellij environment (e.g. upsource) --- .../openapi/editor/colors/impl/AbstractColorsScheme.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e00655bef5cb..93f9f3bf0b4c 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 @@ -333,7 +333,7 @@ public abstract class AbstractColorsScheme implements EditorColorsScheme { initFonts(); } - protected void readAttributes(@NotNull Element childNode) { + public void readAttributes(@NotNull Element childNode) { for (Element e : childNode.getChildren(OPTION_ELEMENT)) { TextAttributesKey name = TextAttributesKey.find(e.getAttributeValue(NAME_ATTR)); TextAttributes attr = new TextAttributes(e.getChild(VALUE_ELEMENT));