Reference: Script Editor Program/Edit Menu
Mark all text within the script. This selection is also available from the keyboard using Ctrl+A.