@Override
  public void showResultInEditor(SearchResult searchResult, Project project, VirtualFile virtualFile) {
    LargeFileEditor largeFileEditor = getLargeFileEditor(true, project, virtualFile);
    if (largeFileEditor == null) {
      Messages.showWarningDialog(EditorBundle.message("large.file.editor.message.cant.show.file.in.the.editor"),
                                 EditorBundle.message("large.file.editor.title.show.match.problem"));
      LOG.info("[Large File Editor Subsystem] Can't get LargeFileEditor for showing search result. FilePath="
               + virtualFile.getPath());
      return;
    }
    largeFileEditor.showSearchResult(searchResult);

    // select necessary tab if any other is selected
    FileEditorManager fileEditorManager = FileEditorManager.getInstance(project);
    fileEditorManager.openFile(virtualFile, false, true);
    fileEditorManager.setSelectedEditor(virtualFile, LargeFileEditorProvider.PROVIDER_ID);
  }
@Override
  public void showResultInEditor(SearchResult searchResult, Project project, VirtualFile virtualFile)