public static void useFindStringFromFindInFileModel(FindModel findModel, Editor editor) {
    if (editor != null) {
      EditorSearchSession editorSearchSession = EditorSearchSession.get(editor);
      if (editorSearchSession != null) {
        FindModel currentFindModel = editorSearchSession.getFindModel();
        findModel.setStringToFind(currentFindModel.getStringToFind());
        if (findModel.isReplaceState()) findModel.setStringToReplace(currentFindModel.getStringToReplace());
      }
    }
  }
public static void useFindStringFromFindInFileModel(FindModel findModel, Editor editor)