pub fn add_cursor(text: &str, offset: TextSize) -> String
Expand description

Inserts $0 marker into the text at offset.