pub fn get_text() -> String
Get the text selected by the cursor
Return empty string if no text is selected or error occurred
use selection::get_text; let text = get_text(); println!("{}", text);