add_cursor

Function add_cursor 

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

Inserts $0 marker into the text at offset.