gpui-component/crates
Moulberry e7aa8983dc
input: Delete selected text with modifier keys (#1497)
In most applications, when text is selected and backspace/delete is
pressed, the selection is simply deleted.

Currently, gpui-component will ignore the selected text and delete the
previous/next word when Ctrl is pressed.

This can be very confusing especially if you do ctrl+a then
ctrl+backspace, expecting the input to be cleared.

This PR makes it so that if there is an active selection, the active
selection is deleted before doing any extra processing.
2025-11-04 16:54:31 +08:00
..
macros Bump v0.4.0-preview0 2025-10-30 15:50:45 +08:00
reqwest_client Bump v0.4.0-preview0 2025-10-30 15:50:45 +08:00
story Fix state internal update to refresh for List, Tree, Table and Select. (#1492) 2025-11-04 16:25:37 +08:00
ui input: Delete selected text with modifier keys (#1497) 2025-11-04 16:54:31 +08:00