Fix bug which caused code completion to delete code following unterminated strings.
End completion after seeing more than one token.