@NotNull
  @Override
  public RangeSearch createContent(Project project,
                                   VirtualFile virtualFile,
                                   String titleName) {
    RangeSearchCallback rangeSearchCallback = new RangeSearchCallbackImpl();
    RangeSearch rangeSearch = new RangeSearch(virtualFile, project, rangeSearchCallback);
    Content content = UsageViewContentManager.getInstance(project).addContent(
      titleName, true, rangeSearch.getComponent(), false, true);
    rangeSearch.setContent(content);

    ToolWindowManager.getInstance(project).getToolWindow(ToolWindowId.FIND).activate(null, true);

    content.setDisposer(new Disposable() {
      @Override
      public void dispose() {
        rangeSearch.dispose();
      }
    });

    return rangeSearch;
  }
@NotNull
  @Override
  public RangeSearch createContent(Project project,
                                   VirtualFile virtualFile,
                                   String titleName)