Files
oak-gpui/crates
Thorsten BallandAntonio f8939fd859 Trim diagnostic messages to fix rendering bug
Before this change a diagnostic message with a trailing newline (e.g.
`line1\nline2\n`) would be rendered in a `Block` with `line_height: 2`.
But the content we then display in this block had 3 "lines", which
pushed the content out of the block.

This fixes the issue by trimming the newlines at the end from the
diagnostics.

Co-authored-by: Antonio <antonio@zed.dev>
2024-01-23 10:36:06 +01:00
..
2024-01-08 16:53:01 -07:00
2024-01-03 12:59:39 -08:00
2024-01-22 23:05:54 -07:00
2024-01-22 14:48:14 -07:00
2024-01-17 11:39:09 -05:00
2024-01-03 12:59:39 -08:00
2024-01-21 20:26:33 -08:00
2024-01-18 01:33:30 -05:00
2024-01-18 00:48:37 +01:00
2024-01-03 12:59:39 -08:00
2024-01-18 00:48:37 +01:00
2024-01-22 23:17:23 -07:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-03 20:02:23 -05:00
2024-01-18 00:48:37 +01:00
2024-01-03 12:59:39 -08:00
2024-01-18 00:48:37 +01:00
2024-01-18 00:48:37 +01:00
2024-01-22 19:30:40 -08:00
2024-01-18 01:33:30 -05:00
2024-01-22 10:16:59 -05:00
2024-01-09 14:16:46 -08:00
2024-01-22 10:16:59 -05:00
2024-01-22 12:37:38 -07:00
2024-01-03 12:59:39 -08:00