Source/WebKit/efl/ewk/ewk_frame.cpp
unsigned int ewk_frame_text_matches_mark(Evas_Object* o, const char* string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit)
{
    EWK_FRAME_SD_GET_OR_RETURN(o, sd, 0);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(string, 0);

    sd->frame->editor()->setMarkedTextMatchesAreHighlighted(highlight);
    return sd->frame->editor()->countMatchesForText(WTF::String::fromUTF8(string), case_sensitive, limit, true);
}
/**
 * Mark matches the given text string in document.
 *
 * @param o frame object where to search text.
 * @param string reference string to match.
 * @param case_sensitive if match should be case sensitive or not.
 * @param highlight if matches should be highlighted.
 * @param limit maximum amount of matches, or zero to unlimited.
 *
 * @return number of matches.
 */
Mark matches the given text string in document.
@param o frame object where to search text.
@param string reference string to match.
@param case_sensitive if match should be case sensitive or not.
@param highlight if matches should be highlighted.
@param limit maximum amount of matches, or zero to unlimited.

@return number of matches.
Mark matches the given text string in document . @param o frame object where to search text . @param string reference string to match . @param case_sensitive if match should be case sensitive or not . @param highlight if matches should be highlighted . @param limit maximum amount of matches or zero to unlimited . @return number of matches .
unsigned int ewk_frame_text_matches_mark(Evas_Object* o, const char* string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit)
{
    EWK_FRAME_SD_GET_OR_RETURN(o, sd, 0);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(string, 0);
    sd->frame->editor()->setMarkedTextMatchesAreHighlighted(highlight);
    return sd->frame->editor()->countMatchesForText(WTF::String::fromUTF8(string), case_sensitive, limit, true);
}
unsigned int ewk_frame_text_matches_mark ( Evas_Object * o , const char * string , Eina_Bool case_sensitive , Eina_Bool highlight , unsigned int limit ) { EWK_FRAME_SD_GET_OR_RETURN ( o , sd , 0 ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( sd -> frame , EINA_FALSE ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( string , 0 ) ; sd -> frame -> editor ( ) -> setMarkedTextMatchesAreHighlighted ( highlight ) ; return sd -> frame -> editor ( ) -> countMatchesForText ( WTF :: String :: fromUTF8 ( string ) , case_sensitive , limit , true ) ; }
Mark matches the given text string in document.
Mark matches the given text string in document .