Bug 1609662: part 6) Update documentation of `Selection::GetIndicesForInterval`. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D60130

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mirko Brodesser 2020-01-20 12:39:04 +00:00
Родитель 0996bebd47
Коммит 7fca9557d2
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -753,6 +753,9 @@ class Selection final : public nsSupportsWeakReference,
* Works on the same principle as GetRangesForIntervalArray, however
* instead this returns the indices into mRanges between which the
* overlapping ranges lie.
*
* @param aStartIndex will be less or equal than aEndIndex.
* @param aEndIndex can be in [-1, mRanges.Length()].
*/
nsresult GetIndicesForInterval(const nsINode* aBeginNode,
int32_t aBeginOffset, const nsINode* aEndNode,