EditorColorsScheme () { EditorColorsManager manager = EditorColorsManager.getInstance(); EditorColorsScheme scheme = (EditorColorsScheme)manager.getGlobalScheme().clone(); manager.addColorScheme(scheme); EditorColorsManager.getInstance().setGlobalScheme(scheme); return scheme; }