gpui-component/crates
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
..
hello_world chore: Avoid built-in tree-sitter languages in default. (#1135) 2025-08-14 18:02:27 +08:00
macros chore: Fix spelling of the word masked (#990) 2025-06-19 12:34:19 +08:00
story input: Refactor diagnostics. (#1240) 2025-09-11 16:54:40 +08:00
ui input: Refactor diagnostics. (#1240) 2025-09-11 16:54:40 +08:00
webview input: Use Rope for InputState. (#1208) 2025-09-05 18:20:47 +08:00
wef wef: Fixed some issues (#975) 2025-06-18 10:46:55 +08:00