gpui-component/crates/story
Jason Lee aab1321b70
input: Refactor InputEvent::Change to not include the text. (#1246)
Change this to avoid Rope `to_string` performance cost. Ref #1220 

The listeners of `InputEvent::Change` may not be going to use entire of
text.

## Break Change

- The `InputEvent::Change(SharedString)` removed value.

```diff
- pub enum InputEvent {
-    Change(SharedString),
+ pub enum InputEvent {
+    Change,
```
2025-09-15 20:50:30 +08:00
..
examples editor: Add completion, code_action provider. (#1242) 2025-09-15 19:25:02 +08:00
src input: Refactor InputEvent::Change to not include the text. (#1246) 2025-09-15 20:50:30 +08:00
Cargo.toml editor: Add completion, code_action provider. (#1242) 2025-09-15 19:25:02 +08:00