@@ -617,21 +617,21 @@ /** * \brief Returns the range of the first occurrence of the string. * * \param string The string to search * \return The range of the first occurrence of the string or a range with - * OF_INVALID_INDEX as start position if it was not found + * OF_NOT_FOUND as start position if it was not found */ - (of_range_t)rangeOfString: (OFString*)string; /** * \brief Returns the range of the string. * * \param string The string to search * \param options Options modifying search behaviour * \return The range of the first occurrence of the string or a range with - * OF_INVALID_INDEX as start position if it was not found + * OF_NOT_FOUND as start position if it was not found */ - (of_range_t)rangeOfString: (OFString*)string options: (of_string_search_options_t)options; /** @@ -639,11 +639,11 @@ * * \param string The string to search * \param options Options modifying search behaviour * \param range The range in which to search * \return The range of the first occurrence of the string or a range with - * OF_INVALID_INDEX as start position if it was not found + * OF_NOT_FOUND as start position if it was not found */ - (of_range_t)rangeOfString: (OFString*)string options: (of_string_search_options_t)options range: (of_range_t)range;