You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@proycon . I recently face an issue retrieving annotations where its span are included in an particular TextSelection span. The api methods is retrieving annotations only if its offset is same to offset that of text selection. But i believe api TextSelection.annotations method also intends to returns annotations where its offset comes in between the text selection boundary.
The text was updated successfully, but these errors were encountered:
That is intended behaviour.
If you want to return annotations that may be anywhere in the text
selection boundary then you should use:
`textselection.related_text(TextSelectionOperator.embeds()).annotations()`
Note that this will not return the textselection itself, so you might
want to also do `textselection.annotations()` to capture those too.
@proycon . I recently face an issue retrieving
annotations
where its span are included in an particularTextSelection
span. The api methods is retrieving annotations only if its offset is same to offset that of text selection. But i believe apiTextSelection.annotations
method also intends to returns annotations where its offset comes in between the text selection boundary.The text was updated successfully, but these errors were encountered: