TextAnchorRange
TextAnchorRange:
A paragraph-local text range for an inferred text comment thread anchor.
Remarks
Section titled “Remarks”Query results use TextAnchorRange because the SDK is describing where
an existing comment thread is currently attached. Each range contains the
paragraph, the paragraph-local range, and the current text at that anchor.
This is different from TextAnchorInputRange, which uses a
TextView because callers are applying a new anchor to text.
Properties
Section titled “Properties”paragraph
Section titled “paragraph”paragraph:
Paragraph
Paragraph that contains the anchored text.
range:
Range
Paragraph-local range covered by this anchor.
text:
string
Current plain text covered by this anchor range.