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