Skip to main content

marks

Function marks 

Source
pub fn marks<M: Model<Paragraph = Vec<usize>>>(
    ui: &mut Ui,
    editor: &PageEditor,
    model: &M,
) -> Option<Mark>
Expand description

Bold, italic, underline and strikethrough, each lit where the whole selection has it, and none of them live without a caret. Answers the mark whose button was pressed, for the editor to toggle over the model.