Color[] () { final ColorKey[] colorKeys = XmlTagTreeHighlightingColors.getColorKeys(); final Color[] colors = new Color[colorKeys.length]; final EditorColorsScheme colorsScheme = EditorColorsManager.getInstance().getGlobalScheme(); for (int i = 0; i < colors.length; i++) { colors[i] = colorsScheme.getColor(colorKeys[i]); } return colors; }