AppFontOptionsPanel (@NotNull EditorColorsScheme previewScheme) { myPanel = new AppEditorFontOptionsPanel(previewScheme); myPanel.addListener(new ColorAndFontSettingsListener.Abstract() { @Override public void fontChanged() { AppConsoleFontConfigurable consoleConfigurable = (AppConsoleFontConfigurable)findConfigurable(myPanel, AppConsoleFontConfigurable.class); if (consoleConfigurable != null) { consoleConfigurable.updateOnEditorFontChange(myPanel.getFontPreferences()); } } }); return myPanel; }