public void setupEditor(@NotNull EditorEx editor) {
      ConsoleViewUtil.setupLanguageConsoleEditor(editor);

      editor.setHorizontalScrollbarVisible(true);
      editor.setVerticalScrollbarVisible(true);

      DataManager.registerDataProvider(editor.getComponent(), (dataId) -> getEditorData(editor, dataId));
    }
public void setupEditor(@NotNull EditorEx editor)