mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This replaces the custom Obj-C TextInputModel implementation used on macOS with the common C++ implementation used on Linux and Windows. Note that as a side-effect, this change enables *some* direct IME input for CJK input but full input will land in follow-up patches that land: 1. Add handling for TextInput.setMarkedTextRect message 2. Add handling for TextInput.setEditableSizeAndTransform message 3. Implement firstRectForCharacterRange:actualRange: using the above. 4. Add NSTextInputContext handling.