pub type Highlighter = fn(&str) -> Vec<(&'static str, String)>;
A syntax highlighter: maps source text to a sequence of (css-class, text) runs that are rendered as styled spans behind the editor’s textarea.
(css-class, text)