зеркало из https://github.com/mozilla/gecko-dev.git
6dd0ecdd8e
`Selection::Extend()` is too slow but editor and ContentEventHandler use it in some places. We should make them use `Selection::SetStartAndEndInLimiter()` or `Selection::SetBaseAndExtentInLimiter()`. The former is usable only when caller guarantees the start point is prior to the end point in the DOM tree. Otherwise, we need to use the latter even though it's slower than the former. Differential Revision: https://phabricator.services.mozilla.com/D23462 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
hunspell | ||
idl | ||
locales | ||
src | ||
tests | ||
moz.build |