@Override
  public @NotNull StructureView createStructureView(@Nullable FileEditor fileEditor, @NotNull Project project) {
    StructureViewModel model = createStructureViewModel(fileEditor instanceof TextEditor ? ((TextEditor)fileEditor).getEditor() : null);
    var view = createStructureView(fileEditor, project, model);
    Disposer.register(view, model);
    return view;
  }
@Override
  public @NotNull StructureView createStructureView(@Nullable FileEditor fileEditor, @NotNull Project project)