gpui-component/crates/ui
Jason Lee 5658db42c7
input: Add CodeEditor mode. (#863)
## TODO

- [x] Cache highlight result.
- [x] Add a `code-editor` example with more languages test.
- [x] Support setup font to Input (Base on window scope text style).
- [x] Line number
- [x] Change font size and font family.
- [x] Enter newline to keep indent.
- [x] Height with flex_1
- [x] Add to support press `up`, `down` to move cursor to start or end
of the selection, if there is selected.
- [x] Add `Tab`, `Shift-Tab` to indent or outdent for cursor and
selection.
- [x] Double click to select at least 1 char.


https://github.com/user-attachments/assets/af74862d-15a9-4802-b4b4-2aeb606227ec
2025-05-20 15:51:00 +08:00
..
locales input: Improve clear button position in Input. (#782) 2025-04-11 19:13:17 +08:00
src input: Add CodeEditor mode. (#863) 2025-05-20 15:51:00 +08:00
tests/fixtures dock: Revert dock to use absolute size. (#840) 2025-05-08 16:29:55 +08:00
Cargo.toml svg_img: No longer use the global image loader. (#823) 2025-04-30 11:56:24 +08:00
default-colors.json Add Skeleton (#128) 2024-08-09 15:55:48 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00