void setText(@NotNull List<String> strings) {
        String text = strings.get(myHistoryIndex);
        if (Objects.equals(text, editor.getText())) {//don't rebuild popup list, it blinks
          return;
        }
        javax.swing.text.Document document = editor.getDocument();
        document.removeDocumentListener(historyResetListener);
        editor.setText(text);
        document.addDocumentListener(historyResetListener);
        editor.selectAll();
      }
void setText(@NotNull List<String> strings)