searchQuote¶
Searches for a given quote in a text. Returns found quote start position in UTF-16 code units. Returns a 404 error if the quote is not found. Can be called synchronously
searchQuote(
text: FormattedText,
quote: FormattedText,
quote_position: int32
) → FoundPosition