gpui-component/crates/story/examples
Jason Lee da85754b96
input: Refactor diagnostics. (#1240)
<img width="613" height="530" alt="image"
src="https://github.com/user-attachments/assets/be86658d-706c-411c-8ba6-09b495208051"
/>

## Break Changes

- The `Markers` has been renamed to use `Diagnostics`.
- The `input::LineNumber` has renamed to `input::Position` and changed
from 1-based to use 0-based.
- Renamed `go_to_line` to `set_cursor_position`, `line_column` to
`cursor_position`.

```diff
- pub fn line_column(&self) -> LineColumn
+ pub fn cursor_position(&self) -> Position

- pub fn go_to_line(&mut self, line: usize, column: Option<usize>, window: &mut Window, cx: &mut Context<Self>)
+ pub fn set_cursor_position(&mut self, position: impl Into<Position>, window: &mut Window, cx: &mut Context<Self>)
```
2025-09-11 16:54:40 +08:00
..
fixtures input: Fix line column by use chars offset. (#1239) 2025-09-10 20:56:15 +08:00
code-editor.rs input: Refactor diagnostics. (#1240) 2025-09-11 16:54:40 +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: Refactor diagnostics. (#1240) 2025-09-11 16:54:40 +08:00
markdown.rs input: Refactor diagnostics. (#1240) 2025-09-11 16:54:40 +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