Skip to main content

emoji_ranges

Function emoji_ranges 

pub fn emoji_ranges(text: &str, emoji: &WorkspaceEmoji) -> Vec<Range<usize>>
Expand description

Where text writes the :name: of an emoji emoji has a picture for, colons included, in order. A colon that closes one name never opens the next.