Skip to main content

underlined

Function underlined 

Source
pub fn underlined(runs: Vec<TextRun>, marked: &Range<usize>) -> Vec<TextRun>
Expand description

The IME composition range underlined, so the user can see what is still provisional. Each run is cut at the range’s edges and the pieces inside it take the line, in whatever colour they already had.