make rename\gotoDef work at the end of token

enable scenarios when cursor is positioned at the end of token
wouldn't we want quick info to support being called at the end of a token?