gpui-component/crates/ui
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
..
locales input: Improve clear button position in Input. (#782) 2025-04-11 19:13:17 +08:00
src input: Refactor diagnostics. (#1240) 2025-09-11 16:54:40 +08:00
tests/fixtures dock: Revert dock to use absolute size. (#840) 2025-05-08 16:29:55 +08:00
Cargo.toml input: Refactor diagnostics. (#1240) 2025-09-11 16:54:40 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00