Menu: Edit Select All
Mac: Cmd + A
Win: Ctrl + A
In Photoshop 6 and 7 and ImageReady 3 and 7, you can also use the mouse to quintuple-click the text.