public static void updateUIWithFindModel(@NotNull SearchReplaceComponent component,
                                           @NotNull FindModel findModel,
                                           @Nullable Editor editor) {
    component.update(findModel.getStringToFind(),
                     findModel.getStringToReplace(),
                     findModel.isReplaceState(),
                     findModel.isMultiline());
    updateEmptyText(component, findModel, editor);
  }
public static void updateUIWithFindModel(@NotNull SearchReplaceComponent component,
                                           @NotNull FindModel findModel,
                                           @Nullable Editor editor)