Fix small spelling mistakes (#38284)

Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Uwe Krause
2025-09-16 21:58:40 +00:00
committed by GitHub
parent 0343b5ff06
commit e14a4ab90d
7 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ here. An example would be `AnyElement` and `LspStore`.
## GPUI
### State menagement
### State management
- `App`: A singleton which holds the full application state including all the entities. Crucially: `App` is not `Send`, which means that `App` only exists on the thread that created it (which is the main/UI thread, usually). Thus, if you see a `&mut App`, know that you're on UI thread.
- `Context`: A wrapper around the `App` struct with specialized behavior for a specific `Entity`. Think of it as `(&mut App, Entity<V>)`. The specialized behavior is surfaced in the API surface of `Context`. E.g., `App::spawn` takes an `AsyncFnOnce(AsyncApp) -> Ret`, whereas `Context::spawn` takes an `AsyncFnOnce(WeakEntity<V>, AsyncApp) -> Ret`.
@@ -67,7 +67,7 @@ h_flex()
- `Component`: A builder which can be rendered turning it into an `Element`.
- `Dispatch tree`: TODO
- `Focus`: The place where keystrokes are handled first
- `Focus tree`: Path from the place thats the current focus to the UI Root. Example <img> TODO
- `Focus tree`: Path from the place that has the current focus to the UI Root. Example <img> TODO
## Zed UI