void () { EditorColorsScheme scheme = createTemporaryColorScheme(); TextAttributesKey xKey = TextAttributesKey.find("PY.PREDEFINED_DEFINITION"); TextAttributes xAttributes = new TextAttributes(Color.green, Color.black, Color.white, EffectType.BOXED, Font.BOLD); scheme.setAttributes(xKey, xAttributes); doTest(); }