zed/crates/gpui
Piotr Osiewicz a98d048905
gpui: Make TextSystem::line_wrapper non-fallible. (#4022)
Editors WrapMap could become desynchronised if user had an invalid font
specified in their config. Compared to Zed1, WrapMap ignored the
resolution failure instead of panicking. Now, if there's an invalid font
in the user config, we just fall back to an arbitrary default.


Release Notes:
- Fixed the editor panic in presence of invalid font name in the config
(fixes https://github.com/zed-industries/community/issues/2397)

---------

Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-01-11 18:52:00 +01:00
..
docs Remove some todo!'s 2024-01-09 11:36:36 +02:00
src gpui: Make TextSystem::line_wrapper non-fallible. (#4022) 2024-01-11 18:52:00 +01:00
tests Remove some todo!'s 2024-01-09 11:36:36 +02:00
build.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
Cargo.toml gpui: Remove dependency on sqlez (#3871) 2024-01-05 19:36:55 +01:00