pub trait AutoPair {
// Required method
fn complete_pair(&self, buffer: &mut StyledBuffer);
}Expand description
The Auto pair trait. Implementers of this trait will take the current styled buffer and then modify it, which represents the contents of the original line
Required Methods§
Sourcefn complete_pair(&self, buffer: &mut StyledBuffer)
fn complete_pair(&self, buffer: &mut StyledBuffer)
The action that will handle the current styled buffer as a line