Bug 1700051: part 49) Add some documentation to Selection::GetRangesForInterval. r=smaug

Depends on D113654

Differential Revision: https://phabricator.services.mozilla.com/D113655
This commit is contained in:
Mirko Brodesser
2021-04-29 09:40:54 +00:00
parent b0a117ebc1
commit 68b60e1257

View File

@@ -427,6 +427,9 @@ class Selection final : public nsSupportsWeakReference,
}
SelectionType Type() const { return mSelectionType; }
/**
* @param aReturn references, not copies, of the internal ranges.
*/
void GetRangesForInterval(nsINode& aBeginNode, int32_t aBeginOffset,
nsINode& aEndNode, int32_t aEndOffset,
bool aAllowAdjacent,