insert hint without replacing text to the right of the caret