Fixed automcplete not properly replacing text
Merge pull request #44 from mirror3000/master

Fixed automcplete not properly replacing text