DefaultActionGroup () { DefaultActionGroup textConsoleToolbarActionGroup = new DefaultActionGroup(); textConsoleToolbarActionGroup.add(new ToggleUseSoftWrapsToolbarAction(SoftWrapAppliancePlaces.CONSOLE) { @Override protected @Nullable Editor getEditor(@NotNull AnActionEvent e) { return ConsoleViewHandler.this.getEditor(); } }); textConsoleToolbarActionGroup.add(new ScrollEditorToTheEndAction(this)); textConsoleToolbarActionGroup.add(new ClearConsoleAction()); return textConsoleToolbarActionGroup; }