commentThreadIdsInSelection
function commentThreadIdsInSelection(doc, selection): string[];Defined in: comments/doc.ts:94
Thread ids whose highlighted range intersects the current selection. For a collapsed caret this is “the thread(s) under the cursor”; for a range it is every thread the range overlaps. Order follows document order.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
doc | DocumentNode |
selection | Selection |
Returns
Section titled “Returns”string[]