Its practically impossible to select and copy text in the edit code window
This happens to me intermittently too. What I have found is that it is selecting the code you just cant see it, for example if you select all and copy, even though it is not highlighted it will copy it all. Hope this helps a some, even though it doesn’t fix the problem.