kill_line

Function kill_line 

Source
pub fn kill_line(text: &str, cursor_position: usize) -> TextOperationResult
Expand description

Kill text from cursor to end of line (Ctrl+K behavior)