When I app switch back to Photoshop, any selected text is deleted - in text elements or Inspector values.
I get the same behaviour in Dreamweaver, but not in any other applications (including Microsoft, Apple apps). I haven't tried in any other Adobe apps.
When I use another user account on my computer, I cannot replicate the problem.
I'm using Photoshop CS6 on Macbook Air running Mavericks.