Update selection base when deleting surrogates (#3558)
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 38664ac3. Minor refactor to consolidate logic around NSRange.
Showing
想要评论请 注册 或 登录