insert hint without replacing text to the right of the caret
Merge pull request #4150 from dloverin/insert-hint-wo-replace

insert hint without replacing text to the right of the caret