@Override
  public @NotNull FileEditor createEditor(@NotNull Project project, @NotNull VirtualFile file) {
    if (file.getFileType().isBinary()) {
      return new LargeBinaryFileEditor(file);
    }
    else {
      AsyncEditorLoader asyncLoader = createAsyncEditorLoader(this, project, file, null);
      EditorImpl editor = createEditorImpl(project, file, asyncLoader).getFirst();
      editor.setViewer(true);

      TextEditorImpl testEditor = new TextEditorImpl(project, file, new TextEditorComponent(file, editor), asyncLoader, true);
      testEditor.putUserData(IS_LARGE, true);
      return testEditor;
    }
  }
@Override
  public @NotNull FileEditor createEditor(@NotNull Project project, @NotNull VirtualFile file)