TextAttributesKey (CharSequence highlightingRule) { CharSequence keyName = EXTENSIONS_MAPPING.get(highlightingRule); TextAttributesKey extendedKey = keyName != null ? TextAttributesKey.find(keyName.toString()) : null; return extendedKey == null ? DEFAULT_COLORS_PROVIDER.getTextAttributesKey(highlightingRule) : extendedKey; }