Function ra_ap_test_utils::add_cursor
source · pub fn add_cursor(text: &str, offset: TextSize) -> String
Expand description
Inserts $0
marker into the text
at offset
.
pub fn add_cursor(text: &str, offset: TextSize) -> String
Inserts $0
marker into the text
at offset
.