TextAttributes (@Nullable TextAttributesKey key) { if (key != null) { if (TextAttributesKey.isTemp(key)) { return myAttributesTempMap.get(key.getExternalName()); } TextAttributes attributes = getDirectlyDefinedAttributes(key); if (attributes != null && attributes != INHERITED_ATTRS_MARKER) { return attributes; } TextAttributesKey fallbackKey = key.getFallbackAttributeKey(); if (fallbackKey != null) { attributes = getFallbackAttributes(fallbackKey); if (attributes != null) { return attributes; } } } return parentScheme.getAttributes(key); }