fetchLocator

abstract suspend fun fetchLocator(charOffset: Int = 0, charLength: Int? = null): ColibrioResult<SimpleLocatorData>

Fetch a Locator for this ContentBlock.

Parameters

charOffset

The character offset within the block's text content where the Locator should start. Defaults to 0.

charLength

The number of characters to include. Defaults to end of textContent if omitted.