Skip to main content

match_inline_mark

Function match_inline_mark 

Source
pub fn match_inline_mark(
    kind: MarkKind,
    block_text: &str,
    cursor_offset: usize,
) -> Option<AnyInlineMatch>
Expand description

Run the matcher associated with kind against block_text up to cursor_offset (UTF-16 units). Returns None when no match.