Fixed auto-completion suggestions rendering

Render the full auto-completion suggestion, bur insert only the text
necessary to insert.