I am doing auto-completion for normal text. But I have some problems with the lookup string insertion.
For example, when I input "This is", and my auco-completion provider gives a list ["This is A"]， then I choose it. But the result text becomes "This is This is A". That's not what I want. I just want to insert the rest part of the matched sentence. What should I do to fix this problem?