fix(android): count number of surrogate pairs correctly when deleting
The system keyboard, when deleting-left, would not count the number of surrogate pairs correctly in the text to delete. This would often leave it deleting half a surrogate pair. Rather than change the countSurrogatePairs function, I opted to write this inline. The countSurrogatePairs function is used elsewhere, it appears correctly.
parent
e7be5f62
Please register or sign in to comment