Keyboard Commands
Text edit pads support many operations, most of which can be invoked by keyboard commands. For most of these commands, the text edit pad must be active for the command to be available.
Table 4: Text Edit Pad Keyboard Commands
| Keystrokes | Operation |
|---|---|
| Movement Commands | |
<arrow keys> |
Moves the cursor one space in the indicated direction. |
<Tab> |
Inserts enough spaces to move the insertion point right to the next tab stop (located every two positions from the left margin). |
| Editing Commands | |
<Backspace> |
Deletes one character to the left of the insertion point, or delete all selected text. |
<Control>+z |
Undoes recent operation. Same as Undo button or menu option. |
<Control>+y |
Redoes operation. Same as Redo button or menu option. |
<Control>+x |
Cuts selected text to the clipboard. Same as Cut button or menu option. |
<Control>+c |
Copies selected text to the clipboard. Same as Copy button or menu option. |
<Control>+v |
Pastes the contents of the clipboard. Same as Paste button or menu option. |
<Control>+b |
Clears the selected text, but (unlike Cut) does not place the text in the clipboard. Same as Clear button or menu option. |
<Control>+a |
Selects all text in the text edit pad. Same as Select All menu option. |
<Control>+f |
Invokes the Find Text operation. |
<Control>+g |
Finds the next instance of the string in the Find dialog box. |
| General Commands | |
<Control>+n |
Opens a new text edit pad. Same as New… menu option. |
<Control>+o |
Opens the specified text edit pad. Same as Open… menu option. |
<Control>+w |
Closes the text edit pad. Same as Close menu option. |
<Control>+s |
Save the contents of the text edit pad. Same as Save button or menu option. The text edit pad must be the active window. If another window is active instead, this command saves the contents of the active window. |
<Control>+p |
Print the contents of the text edit pad. |
| Navigation Commands | |
<Control>+F2 |
Inserts or removes a bookmark at the current location. Same as Toggle Bookmark menu option. |
F2 |
Jumps to the next bookmark in the file. Same as Next Bookmark menu option. |
<Shift>+F2 |
Jumps to the previous bookmark in the file. Same as Previous Bookmark menu option. |
<Control>+, |
Moves the cursor to the specified line number. Same as Go to Line menu option. |