gpui-component/crates
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
..
hello_world chore: Avoid built-in tree-sitter languages in default. (#1135) 2025-08-14 18:02:27 +08:00
macros chore: Fix spelling of the word masked (#990) 2025-06-19 12:34:19 +08:00
story input: Use zed's Rope (#1214) 2025-09-08 16:44:52 +08:00
ui input: Use zed's Rope (#1214) 2025-09-08 16:44:52 +08:00
webview input: Use Rope for InputState. (#1208) 2025-09-05 18:20:47 +08:00
wef wef: Fixed some issues (#975) 2025-06-18 10:46:55 +08:00