AnAction () { DefaultActionGroup group = new ShowFilterPopupGroup() { @Override protected boolean enableLiveIndicator(@NotNull FindModel model) { return super.enableLiveIndicator(model) || !model.isGlobal(); } }; group.add(new Separator(ApplicationBundle.message("editorsearch.filter.search.scope")), Constraints.FIRST); group.add(new ToggleSelectionOnlyAction(), Constraints.FIRST); return group; }