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