TextAttributesKey function ( @ NonNls @ NotNull String arg0 , TextAttributesKey arg1 ) { TextAttributesKey loc0 = find ( arg0 ) ; loc0 . setFallbackAttributeKey ( arg1 ) ; return loc0 ; }
registers a text attribute key with the specified identifier and a fallback key . if text attributes for the key are not defined in a color scheme , they will be acquired by the fallback key if possible . fallback keys can be chained , for example , text attribute key a can depend on key b which in turn can depend on key c . so if text attributes neither for a nor for b are found , they will be acquired by the key c. fallback keys can be used from any place including language 's own definitions . note that there is a common set of keys called defaultlanguagehighlightercolors which can be used as a base . scheme designers are supposed to set colors for thesekeys primarily and using them guarantees that most if not all text attributes will be shown correctly for the language regardless of a color scheme . concode_field_sep Logger LOG concode_elem_sep NullableLazyValue<TextAttributeKeyDefaultsProvider> ourDefaultsProvider concode_elem_sep ConcurrentMap<String,TextAttributesKey> ourRegistry concode_elem_sep TextAttributesKey myFallbackAttributeKey concode_elem_sep String TEMP_PREFIX concode_elem_sep TextAttributes myDefaultAttributes concode_elem_sep String myExternalName concode_elem_sep TextAttributes NULL_ATTRIBUTES concode_field_sep void writeExternal concode_elem_sep TextAttributes getDefaultAttributes concode_elem_sep TextAttributes getDefaultAttributes concode_elem_sep int compareTo concode_elem_sep void checkDependencies concode_elem_sep TextAttributeKeyDefaultsProvider compute concode_elem_sep TextAttributesKey createTempTextAttributesKey concode_elem_sep void setFallbackAttributeKey concode_elem_sep TextAttributesKey find concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean isTemp concode_elem_sep String getExternalName concode_elem_sep String toString concode_elem_sep TextAttributesKey getFallbackAttributeKey concode_elem_sep void removeTextAttributesKey concode_elem_sep void printDependencyLoop