pub fn insert_at_line(text: &str, line_index: usize, new_text: &str) -> String
Insert text at a specific line (0-based)