Struct MatchingBracketHighlighter
pub struct MatchingBracketHighlighter { /* private fields */ }
Highlight matching bracket when typed or cursor moved on.
Implementations
impl MatchingBracketHighlighter
fn new() -> SelfConstructor
Trait Implementations
impl Default for MatchingBracketHighlighter
fn default() -> Self
impl Highlighter for MatchingBracketHighlighter
fn highlight<'l>(&self, line: &'l str, _pos: usize) -> Cow<'l, str>fn highlight_char(&self, line: &str, pos: usize, kind: CmdKind) -> bool