Skip to main content

flatten

Function flatten 

Source
pub fn flatten(text: &Text, base_weight: FontWeight, theme: &Theme) -> Flat
Expand description

Marks are ranges, gpui wants consecutive runs — so cut the text at every mark boundary and ask which marks cover each piece.