gpui-component/crates/ui/src/text
Jason Lee 61b7e54bfa
table: Refactor the Table API for describe the columns. (#1072)
## Break Changes

- The `ColFixed` has renamed to `ColumnFixed`.
- The `ColSort` has renamed to `ColumnSort`.

### TableDelegate

- Removed `col_name`, `col_resizable`, `col_selectable`, `col_width`,
`col_sort`, `col_fixed`, `col_paddings`, `col_movable` method, now use
`col` method to return a TableCol for describe of them.
- The `cols_count` method renamed to `columns_count`.

    ```diff
    - fn cols_count(&self, _: &App) -> usize
    + fn columns_count(&self, _: &App) -> usize
    ``` 
- The `move_col` has renamed to `move_column`.
- The `visible_cols_changed` has renamed to `visible_columns_changed`.

### TableEvent

```diff
- TableEvent::SelectCol
+ TableEvent::SelectColumn
- TableEvent::MoveCol
+ TableEvent::MoveColumn
- TableEvent::ColWidthsChanged
+ TableEvent::ColumnWidthsChanged
```
2025-07-21 11:16:35 +08:00
..
element.rs table: Refactor the Table API for describe the columns. (#1072) 2025-07-21 11:16:35 +08:00
html.rs text_view: Fix nested Blockquote render in Markdown and HTML. (#1053) 2025-07-14 14:30:40 +08:00
markdown.rs text_view: Fix nested Blockquote render in Markdown and HTML. (#1053) 2025-07-14 14:30:40 +08:00
mod.rs checkbox, switch: Improve Checkbox, Switch to use wrap text and TextView. (#651) 2025-02-24 18:04:06 +08:00
text_view.rs alert: Improve Alert styles. (#1044) 2025-07-04 15:29:05 +08:00
utils.rs text: Add TextView with Markdown and Simple HTML support. (#639) 2025-02-20 20:08:59 +08:00