SOLUTION for Google Drive Users is: Switch off the sync status icons in google drive config.
I had the same problem. Same in Win 8.1 and Win 10. In my case the re-highlighting is caused by explorer-refresh beeing invoked by google drive (GD) while you are editing a filename. Same happens if any other sync-software does this. The problem has is mentioned in other posts since about 2010.
Example:
[CTRL] + [C], [CTRL] + [V], [F2], type new filename, [Enter] => "my new filename.docx"
Auto-Refreshing makes it:
[CTRL] + [C], [CTRL] + [V], [F2], type new filen[AUTO-REFRESH, RE-HIGHLIGHT]ame, [Enter] => "ame.docx"
In detail:
As soon as you paste, GD starts uploading. You hit F2 to edit and start typing the new name. GD is done with uploading and initiates Windows File Explorer to refresh. This refresh invokes Explorer to fully highlight the whole filename (in my case without extension). So you are trying to type "my new document" and finally get "ent.doc" .. almost awsome .. almost ..
So i think there is no ideal solution yet. Explorer shouldn't reset the highlighting when beeing refreshed. Maybe MS cares some day ..