Hi.
Unless I have completely misunderstood the textAtOffset() function, I believe 
that the documentation for textAtOffset have some "lies" for the documentation 
of the offset parameter. I believe this to be a copy and paste bug from 
textBeforeOffset().

>From IAccessibleText.idl(470-472), version 1.2.1:
   @param [in] offset
    Index of the character for which to return the text part before it.  The 
index
    character will not be part of the returned string. The valid range is 
0..length.

It should probably be somewhere in the lines of:
   @param [in] offset
    Index of the character for which to return the text part it belongs to. The 
valid 
    range is 0..length.

cheers,
Jan Arve Sæther

_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

Reply via email to