Skip to main content

replace_text_and_notify_if_error

Function replace_text_and_notify_if_error 

Source
pub fn replace_text_and_notify_if_error<Line, Lines>(
    selection: &Selection,
    replacement: Lines,
)
where Lines: IntoIterator<Item = Line>, Line: Into<String>,
Expand description

Replaces the text in the specified selection with the replacement lines.