gpui-component/crates/story
Jason Lee a9953a9349
input: Use zed's Rope (#1214)
Now with 10K lines plain text, in release mode on macOS. The
`large-text` example can work with:

- 120 FPS for display.
- 90 FPS for update text.

```
MTL_HUD_ENABLED=1 cargo run --example large-text --release
```

- Fixed the cursor position at end of line, also support at start of
line.


https://github.com/user-attachments/assets/1de52f6c-e138-4ed3-a600-06372a807ed8

### Check list

- [x] Modifying Text with Rope
- [x] LineColumn, GoToLine
- [x] Code Highlight
- [x] Delete word, select word
- [x] Delete line
- [x] Move left, right, up, down
2025-09-08 16:44:52 +08:00
..
examples input: Use zed's Rope (#1214) 2025-09-08 16:44:52 +08:00
src input: Use zed's Rope (#1214) 2025-09-08 16:44:52 +08:00
Cargo.toml chore: Avoid built-in tree-sitter languages in default. (#1135) 2025-08-14 18:02:27 +08:00