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. |
||
|---|---|---|
| .. | ||
| locales | ||
| src | ||
| tests/fixtures | ||
| Cargo.toml | ||
| LICENSE-APACHE | ||