pub fn flatten(text: &Text, base_weight: FontWeight, theme: &Theme) -> FlatExpand description
Marks are ranges, gpui wants consecutive runs — so cut the text at every mark boundary and ask which marks cover each piece.
pub fn flatten(text: &Text, base_weight: FontWeight, theme: &Theme) -> FlatMarks are ranges, gpui wants consecutive runs — so cut the text at every mark boundary and ask which marks cover each piece.