Skip to main content

marked

Function marked 

Source
pub fn marked(
    paragraph: &Element,
    range: Range<usize>,
    mark: Mark,
    styles: &Styles,
) -> Option<bool>
Expand description

Whether the characters of a range carry a mark: Some when all of them say the same, None when they differ. A range of no characters answers for the character before it, or after it at the paragraph’s start, which is the one text typed there takes its formatting from; a paragraph with no characters answers for itself.