Hello guys,
can you let me know how are characters index been calculated? or if there's way to override it?
Basically we have our annotations saved, when we do highlight we load the annotations and have the startIndex and endIndex to do the highlight,
providing the same startIndex and endIndex to the getTextPosition method return a incorrect quads for the highlightTool, please see below picture
Text need to selected:
DESTRUCTION OF PREMISES: If the premises become totally or partially destroyed during the term of this Agreement so that RESIDENT'S use is seriously impaired, OWNER or RESIDENT may terminate this Agreement immediately upon three day written notice to the other.
I also try to do the textSearchInit by providing the first 20 characters and to see if I can use those quads to do the highlight, but it doesn't return any quads.
Do you guys have any suggestions on select the text position correctly?
Thank you