mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Ensure selection base is updated when deleting surrogates This fixes a bug in which the selection base was not updated when deleting at index of the trailing char of a Unicode surrogate, introduced in 38664ac32223228476166b9050ab400c102fda05. Minor refactor to consolidate logic around NSRange.