void (@NotNull AnActionEvent e) { EditorColorsManagerImpl colorsManager = (EditorColorsManagerImpl)EditorColorsManager.getInstance(); EditorColorsScheme scheme = colorsManager.getGlobalScheme(); if (EditorColorsManagerImpl.Companion.isTempScheme(scheme)) { colorsManager.getSchemeManager().removeScheme(scheme); colorsManager.loadState(colorsManager.getState()); } UIThemeLookAndFeelInfo feel = LafManager.getInstance().getCurrentUIThemeLookAndFeel(); if (feel instanceof TempUIThemeLookAndFeelInfo) { LafManager.getInstance().setCurrentUIThemeLookAndFeel(((TempUIThemeLookAndFeelInfo)feel).getPreviousLaf()); } else { LafManager.getInstance().setCurrentUIThemeLookAndFeel(feel); } EditorColorsManagerImpl manager = (EditorColorsManagerImpl)EditorColorsManager.getInstance(); manager.schemeChangedOrSwitched(manager.getGlobalScheme()); AppUIUtil.updateForDarcula(StartupUiUtil.isUnderDarcula()); LafManager.getInstance().updateUI(); }