pub fn match_special_char(
block_text: &str,
cursor_offset: usize,
) -> Option<SpecialCharMatch>Expand description
Scan block_text[..cursor_offset] for a trailing trigger and
return the replacement info, or None when nothing matched.
Offsets are UTF-16 code units to match the React engine selection contract.