Fix problem with finding next token on next line.
Don't set the selection until we have done the final jump-to-def
should address comments in issue #3863
Merge pull request #4294 from eztierney/iss-3863

Fix problem with finding next token on next line.