gpui-component/crates/ui/src/input
Jason Lee 74b3aa7e67
text_view: Add to support selection. (#1169)
### Links

Maybe we can do it in TextLayout in GPUI:


fda6eda3c2/crates/gpui/src/elements/text.rs (L309)

## Demo


https://github.com/user-attachments/assets/abbebee7-df8f-4067-86a7-15bc1a4c44cd

## Todo

- [x] Test for HTML View.
- [x] CodeBlock selection support.
- [x] Selection lines sometimes incorrect.
- [x] Listener Bounds changed to unselect.
2025-08-28 18:09:30 +08:00
..
blink_cursor.rs input: Keep showing the blink cursor when typing or moving. (#967) 2025-06-17 14:20:27 +08:00
change.rs input: Add Cursor and Selection type and export line number, cursor. (#1012) 2025-06-27 20:48:26 +08:00
clear_button.rs input: Add mask_toggle button to toggle masked state to Input. (#758) 2025-03-31 22:57:07 +08:00
cursor.rs input: Add Cursor and Selection type and export line number, cursor. (#1012) 2025-06-27 20:48:26 +08:00
element.rs input: Fix visible range when multi-line text have soft wrap. (#1155) 2025-08-19 19:21:12 +08:00
hover_popover.rs text_view: Add to support selection. (#1169) 2025-08-28 18:09:30 +08:00
marker.rs theme: Improve theme color fallbacks based on base colors. (#1069) 2025-07-17 11:43:40 +08:00
mask_pattern.rs number_input: Allow signed numbers (#957) 2025-06-16 10:05:37 +08:00
mod.rs input: Add Cursor and Selection type and export line number, cursor. (#1012) 2025-06-27 20:48:26 +08:00
mode.rs chore: Refactor code for Input. (#1046) 2025-07-05 14:37:12 +08:00
number_input.rs chrore: Refactor the disabled API for NumberInput, DatePicker, OtpInput, Calandar. (#1102) 2025-07-29 17:31:52 +08:00
otp_input.rs chrore: Refactor the disabled API for NumberInput, DatePicker, OtpInput, Calandar. (#1102) 2025-07-29 17:31:52 +08:00
state.rs input: Fix visible range when multi-line text have soft wrap. (#1155) 2025-08-19 19:21:12 +08:00
text_input.rs input: Add appearance option to NumberInput, Dropdown, DatePicker to render without style. (#1054) 2025-07-14 19:57:56 +08:00
text_wrapper.rs input: Fix visible range when multi-line text have soft wrap. (#1155) 2025-08-19 19:21:12 +08:00