protected static void setWholeWordSearch(Editor editor, boolean isWholeWordSearch) {
    editor.putUserData(WHOLE_WORDS, isWholeWordSearch);
  }
protected static void setWholeWordSearch(Editor editor, boolean isWholeWordSearch)