pub fn apply_replacements( source: &str, replacements: Vec<(Range<usize>, String)>, ) -> String
Apply replacements to source code preserving formatting