ZIm/crates/editor
Marshall Bowers 990bdde5e8
gpui: Add helper methods for em width and em advance (#24036)
This PR adds two helpers methods to the `TextSystem`:

- `em_width`
- `em_advance`

These methods return the width and advance width for an `em`,
respectively.

We were using these definitions in a number of different spots, and by
unifying them we better canonicalize that an `em` is based on the `m`
character.

Release Notes:

- N/A
2025-01-31 17:47:44 +00:00
..
src gpui: Add helper methods for em width and em advance (#24036) 2025-01-31 17:47:44 +00:00
Cargo.toml zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00