void (@NotNull EditorEx editor) { ConsoleViewUtil.setupLanguageConsoleEditor(editor); editor.setHorizontalScrollbarVisible(true); editor.setVerticalScrollbarVisible(true); DataManager.registerDataProvider(editor.getComponent(), (dataId) -> getEditorData(editor, dataId)); }