NewColorAndFontPanel (@NotNull ColorAndFontOptions options) { FontEditorPreview previewPanel = new FontEditorPreview(()->options.getSelectedScheme(), true) { @Override protected EditorColorsScheme updateOptionsScheme(EditorColorsScheme selectedScheme) { return ConsoleViewUtil.updateConsoleColorScheme(selectedScheme); } }; return new NewColorAndFontPanel(new SchemesPanel(options, 0), new ConsoleFontOptions(options), previewPanel, ApplicationBundle.message("label.font.type"), null, null){ @Override public boolean containsFontOptions() { return true; } }; }