fn complete_replace_word(
buf: &mut [u8],
len: &mut usize,
cursor: &mut usize,
word_start: usize,
replacement: &str,
add_trailing_space: bool,
)Expand description
Replace the word starting at word_start (byte offset) with replacement.