gpui-component/crates/webview
Jason Lee 344e4407ff
input: Use Rope for InputState. (#1208)
This PR to change the Input to use
[ropey](https://github.com/cessen/ropey) to store the text.

## Break Changes

- The `value` method of `InputState` now returns a `SharedString` type.

```diff
- pub fn value(&self) -> &SharedString
+ pub fn value(&self) -> SharedString
```

Ref links:

- https://github.com/cessen/ropey
- https://zed.dev/blog/zed-decoded-rope-sumtree
- https://github.com/helix-editor/helix/blob/master/docs/architecture.md
2025-09-05 18:20:47 +08:00
..
examples/wef-example input: Use Rope for InputState. (#1208) 2025-09-05 18:20:47 +08:00
locales
src input: Use Rope for InputState. (#1208) 2025-09-05 18:20:47 +08:00
tests
.rustfmt.toml
Cargo.toml chore: Update GPUI and fix FocusableWrapper removed error. (#1026) 2025-07-02 11:06:04 +08:00
LICENSE-APACHE
README.md wef: Fix doc and warnings. (#972) 2025-06-17 20:10:34 +08:00

WebView support for GPUI

Bootstrap

You should init the Wef first.

cargo install cargo-wef
cargo wef init

Run example

cargo wef run -p wef-example