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