void (@NotNull AnActionEvent event, boolean selected) { Editor editor = findEditor(event); boolean modified = editor != null && BreadcrumbsForceShownSettings.setForcedShown(null, editor); EditorSettingsExternalizable settings = EditorSettingsExternalizable.getInstance(); if (settings.setBreadcrumbsShown(show)) modified = true; if (show) { if (settings.setBreadcrumbsAbove(above)) modified = true; String languageID = findLanguageID(event); if (languageID != null && settings.setBreadcrumbsShownFor(languageID, true)) modified = true; } if (modified) { UISettings.getInstance().fireUISettingsChanged(); } }