Skip to main content

detect_trigger_with

Function detect_trigger_with 

Source
pub fn detect_trigger_with(
    text: &str,
    cursor: usize,
    opts: TriggerOptions,
) -> Option<TriggerContext>
Expand description

Variant of detect_trigger that takes explicit options. Used by the search-box controller to suppress the column-0 # header disambiguation, which only matters in the Markdown editor.