+209
−163
Loading
`HTMLEditRules::GetPromotedPoint()` does too many things. Therefore, this patch splits it to 3 methods. One is for specific `EditSubAction` values, that's the first block in `GetPromotedPoint()`. It's named as `GetWhiteSpaceEndPoint()`. Next one is for expanding start of the range to start of its line. It's named as `GetCurrentHardLineStartPoint()`. The last one is for expanding end of the range to end of its line. It's named as `GetCurrentHardLineEndPoint()`. Differential Revision: https://phabricator.services.mozilla.com/D42791 --HG-- extra : moz-landing-system : lando