mobile keyboard swipe/autocomplete/paste
Dependencies
- [2]
OV6FE23RMerge text0 - [3]
4J3Y3DJWpijul bug: redo upstream change - [4]
R2ASHK5Cfix a bad merge - [*]
2L5MEZV3experiment: new edit namespace
Change contents
- replacement in edit.lua at line 266
Text.text_input(State, t)if utf8.len(t) == 1 thenText.text_input(State, t)else-- Try to support mobile keyboard swipe/autocomplete/paste as best we-- can.---- Mobile paste still works poorly. It's unreliable, often truncates-- large pastes, and inserts newlines twice, first keypress events for-- all characters in a paste and _then_ textinput for all characters.Text.insert_text(State, t)end