The keyboard shortcuts that are unique to the program window are highlighted.
Press | To |
---|---|
LEFT ARROW | Move one character to the left |
RIGHT ARROW | Move one character to the right |
UP ARROW | Move up one line |
DOWN ARROW | Move down one line |
HOME | Move to the beginning of the line |
END | Move to the end of the line |
PAGE UP | Move up one screen |
PAGE DOWN | Move down one screen |
CTRL+LEFT ARROW | Move one word to the left |
CTRL+RIGHT ARROW | Move one word to the right |
CTRL+[ | Move up one paragraph (delimited by one or more blank lines) |
CTRL+] | Move down one paragraph (delimited by one or more blank lines) |
CTRL+HOME | Move to the beginning of the document |
CTRL+END | Move to the end of the document |
CTRL+G | Prompt for a line number; then move to the beginning of that line |
CTRL+SHIFT+] | Move to the matching brace, bracket, or parenthesis |
Press | To |
---|---|
CTRL+UP ARROW | Scroll up one line |
CTRL+DOWN ARROW | Scroll down one line |
Press | To |
---|---|
CTRL+A –or– CTRL+NUMPAD5 |
Select all the text |
ALT+SHIFT+LEFT ARROW | Extend the rectangular selection one character to the left |
ALT+SHIFT+RIGHT ARROW | Extend the rectangular selection one character to the right |
ALT+SHIFT+UP ARROW | Extend the rectangular selection up one line |
ALT+SHIFT+DOWN ARROW | Extend the rectangular selection down one line |
ALT+SHIFT+HOME | Extend the rectangular selection to the beginning of the line |
ALT+SHIFT+END | Extend the rectangular selection to the end of the line |
ALT+SHIFT+PAGE UP | Extend the rectangular selection up one screen |
ALT+SHIFT+PAGE DOWN | Extend the rectangular selection down one screen |
(You can also select text by holding down the SHIFT key while pressing any of the Cursor Movement keystrokes.)
Press | To |
---|---|
INSERT | Toggle overtype mode |
ENTER | Insert a new line |
TAB | Insert a tab character |
SHIFT+F4 | Insert a Statement Block Separator comment line |
Press | To |
---|---|
BACKSPACE | Delete one character to the left |
DELETE | Delete one character to the right |
CTRL+BACKSPACE | Delete one word to the left |
CTRL+DELETE | Delete one word to the right |
CTRL+SHIFT+BACKSPACE | Delete to the beginning of the line |
CTRL+SHIFT+DELETE | Delete to the end of the line |
CTRL+SHIFT+L | Delete the current line |
Press | To |
---|---|
CTRL+F | Open the Find dialog box |
F3 | Find the next occurrence of the search text |
CTRL+H | Open the Replace dialog box |
Press | To |
---|---|
CTRL+C | Copy the selected text to the clipboard |
CTRL+SHIFT+T | Copy the current line to the clipboard |
CTRL+X | Cut the selected text to the clipboard |
CTRL+L | Cut the current line to the clipboard |
CTRL+V | Paste the clipboard contents into the document |
Press | To |
---|---|
CTRL+Z | Undo the previous editing change |
CTRL+Y | Redo the previous editing change |
Press | To |
---|---|
CTRL+SHIFT+F2 | Clear all the bookmarks |
F2 | Move to the next bookmark |
SHIFT+F2 | Move to the previous bookmark |
CTRL+F2 | Set or clear a bookmark on the current line |
Press | To |
---|---|
TAB | Move the selected text one tab stop to the right |
SHIFT+TAB | Move the selected text one tab stop to the left |
Press | To |
---|---|
CTRL+NUMPAD+ | Zoom in |
CTRL+NUMPAD- | Zoom out |
CTRL+NUMPAD/ | Reset zoom to 100% |
Press | To |
---|---|
CTRL+1 | Toggle the highlighting of syntax errors |
CTRL+T | Transpose the current line with the previous line |
CTRL+D | Duplicate the selected text |
CTRL+U | Convert the selected text to lowercase |
CTRL+SHIFT+U | Convert the selected text to uppercase |
CTRL+/ | Surround the selected lines with comments |
CTRL+SHIFT+/ | Remove the comments surrounding the selected lines |