gpui-component/crates/story/examples
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
..
fixtures markdown: Add to support LinkReference and Footnote. (#1201) 2025-09-03 16:39:17 +08:00
code-editor.rs input: Use zed's Rope (#1214) 2025-09-08 16:44:52 +08:00
dock.rs notification: Fix display issues caused by the taffy upgrade (#1084) 2025-07-23 19:12:13 +08:00
html.rs text_view: Add to support selection. (#1169) 2025-08-28 18:09:30 +08:00
large-text.rs input: Use zed's Rope (#1214) 2025-09-08 16:44:52 +08:00
markdown.rs text_view: Add to support selection. (#1169) 2025-08-28 18:09:30 +08:00
tiles.rs notification: Fix display issues caused by the taffy upgrade (#1084) 2025-07-23 19:12:13 +08:00
webview.rs webview: Let webview as a feature and not default enable. (#648) 2025-02-24 14:24:22 +08:00