Trait DeleteListener
pub trait DeleteListener
Listener to be notified when some text is deleted.
Required Methods
fn delete(&mut self, idx: usize, string: &str, dir: Direction)stringdeleted atidxindex
Provided Methods
fn start_killing(&mut self)used to make the distinction between simple character(s) deletion and word(s)/line(s) deletion
fn stop_killing(&mut self)used to make the distinction between simple character(s) deletion and word(s)/line(s) deletion
Implementors
impl DeleteListener for Changeset