@Override
  public @NotNull StructureView createStructureView(final FileEditor fileEditor, final @NotNull Project project) {
    return new StructureViewComponent(fileEditor, createStructureViewModel(fileEditor instanceof TextEditor ? ((TextEditor)fileEditor).getEditor() : null), project, true);
  }
@Override
  public @NotNull StructureView createStructureView(final FileEditor fileEditor, final @NotNull Project project)