pub trait ReceiveSurroundingText {
// Required method
fn text_changed(
&self,
string_left_of_cursor: String,
string_right_of_cursor: String,
);
}
Expand description
Trait to get notified when the text surrounding the cursor changes