mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fixes a bug where deleteBackward was checking for being at the start of the text before checking for a non-empty selection, breaking deletion when the entire text field was selected. Also removes an (incorrect) post-deletion position update that was redundant with code in insertText:replacementRange:, and thus having no effect. Fixes https://github.com/flutter/flutter/issues/46150