slint/api
Simon Hausmann 7ca66d62b9 Fix crash in TextInput when deleting a left-directed selection
When selecting to the left, the anchor remains to the right of the cursor.
When deleting such a selection, we fetch the cursor and anchor using a helper
method, which ensures that the anchor is to the left of the cursor.
Finally when setting the cursor then to the anchor, we need to also
set the anchor, since both were swapped.

This also add an automated test for this scenario.
2020-09-23 17:33:09 +02:00
..
sixtyfps-cpp Start doing a ScrollArea element 2020-09-22 20:05:41 +02:00
sixtyfps-node Pass the ComponentWindow to ItemVTable::input_event 2020-09-18 16:18:48 +02:00
sixtyfps-rs Fix crash in TextInput when deleting a left-directed selection 2020-09-23 17:33:09 +02:00
sixtyfps-wasm-interpreter Fix wasm interpreter build 2020-09-04 21:53:17 +02:00