Use the Edit menu Select All command from the Class Browser, Primitive Types Browser, or Interface Browser to select the complete contents of the current editor pane. For example, you can select a complete method to copy it to the clipboard before pasting it into another method.
To select the contents of the editor pane, perform one of the following actions
Select the Select All command from the Edit menu
Press Ctrl+A
The contents of the current editor pane are then selected; that is, highlighted. (For details about cutting or copying the selected method to the clipboard, see "Copying Text" or "Cutting Text", earlier in this section.)