Skip to main content

apply_edit_to_text

Function apply_edit_to_text 

Source
pub fn apply_edit_to_text(old_text: &str, edit: &TextEdit) -> String
Expand description

Apply a text edit to the old source, producing the new source text.