private void createSearchReplaceComponent() {
    mySearchReplaceComponent = SearchReplaceComponent
      .buildFor(largeFileEditor.getProject(),
                largeFileEditor.getEditor().getContentComponent())
      .addPrimarySearchActions(myPrevOccurrenceAction,
                               myNextOccurrenceAction,
                               new Separator(),
                               myFindAllAction,
                               myFindBackwardAction,
                               myFindForwardAction)
      .addExtraSearchActions(myToggleCaseSensitiveAction,
                             myToggleWholeWordsAction,
                             myToggleRegularExpression,
                             new DefaultCustomComponentAction(
                               () -> RegExHelpPopup.createRegExLink(
                                 new HtmlBuilder().append(HtmlChunk.text("?").bold()).wrapWithHtmlBody().toString(),
                                 null, FindUsagesCollector.FIND_IN_FILE)),
                             myStatusTextAction)
      //.addSearchFieldActions(new RestorePreviousSettingsAction())
      .withCloseAction(this::onEscapePressed)
      .build();
  }
private void createSearchReplaceComponent()