gecko-dev/toolkit/components/find
Masayuki Nakano 82e2013683 Bug 1735446 - part 4: Make `Selection::GetRangeAt()` take `uint32_t` instead of `int32_t` r=smaug
It's an internal API corresponding to `Selection.getRangeAt` DOM API.
I think that it should use `uint32_t` rather than `size_t` because of the
consistency with the DOM API and `Selection::RangeCount()`.

This patch fixes all callers of `GetRangeAt()`, and rewrites it with ranged-
loops unless original ones do not refer `RangeCount()` every time and may run
script in the loop.

Differential Revision: https://phabricator.services.mozilla.com/D128848
2021-12-09 07:35:09 +00:00
..
moz.build Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
nsFind.cpp Bug 1719554 - Unify most of nsUnicodeProperties.h; r=platform-i18n-reviewers,jfkthame,gregtatum,necko-reviewers,valentin 2021-12-06 18:15:49 +00:00
nsFind.h Bug 1736938 Part 3 - Make all WordBreaker's methods static, and adapt the callers. r=jfkthame 2021-10-25 19:00:22 +00:00
nsFindService.cpp
nsFindService.h
nsIFind.idl
nsIFindService.idl
nsIWebBrowserFind.idl
nsWebBrowserFind.cpp Bug 1735446 - part 4: Make `Selection::GetRangeAt()` take `uint32_t` instead of `int32_t` r=smaug 2021-12-09 07:35:09 +00:00
nsWebBrowserFind.h