@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      Project project = e.getProject();
      if (project == null) return;
      FindInProjectSettings findInProjectSettings = FindInProjectSettings.getInstance(project);
      String[] recent = mySearchMode ? findInProjectSettings.getRecentFindStrings()
                                     : findInProjectSettings.getRecentReplaceStrings();

      Utils.showCompletionPopup(SearchTextArea.this,
                                Arrays.stream(ArrayUtil.reverseArray(recent)).toList(),
                                null,
                                myTextArea,
                                null,
                                FindBundle.message(mySearchMode ? "find.search.history" : "find.replace.history"));
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)