delete_word_backward

Function delete_word_backward 

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

Delete word backward from cursor (Ctrl+W behavior)