Keyboard

The table below summarizes the keystrokes available in PFC for commands related to Editor pane. An ellipsis (…) appearing at the end of the command indicates that a dialog will appear when the command is used. All commands are contextual. They are enabled or disabled as appropriate to the current context (for instance, whether text is currently selected in the editor). Note that these key commands are listed on the right side of the Edit menu when the associated command appears there.

The keyboard is also used in some selection operations. These are described in their own topic.


Table 1: Editor-related Key Commands
Keystroke Command Description/Comment
Ctrl + Z Undo Undo the previous operation.
Ctrl + Y Redo Perform the previous operation again.
Ctrl + X Cut Delete the selected text and place it on the clipboard.
Ctrl + C Copy Copy the selected text to the clipboard.
Ctrl + V Paste Insert the text on the clipboard to the current cursor location.
Ctrl + A Select All Select all text in the pane.
Ctrl + F Find… Open a Find dialog that allows the user to specify text to search for in the current file [1].
Ctrl + Shift + F Find Selection Find the next instance of the currently selected text [1].
Ctrl + L Find Next Search for the next instance of the text that was most recently specified in the Find dialog [1].
Ctrl + H Replace… Open a Replace dialog that allows user to specify a global replacement operation (that is, find all instances of A and replace with B) [1].
Ctrl + G Go To Line… Open a dialog that allows the user to specify a line number to move to in the current file [1].
Ctrl + Shift + G Go To Token… Open a dialog that allows the user to specify a line number to move to in the current file [1].
Ctrl + K Block comment Comment the selected text (on a line-by-line basis, if more than one line is selected).
Ctrl + Shift + K Block uncomment Uncomment the selected text (on a line-by-line basis, if more than one line is selected).
Ctrl + Shift + E Run selection Execute the current selection only.
Ctrl + E Execute Execute or stop cycling; see the Toolbar topic for more information.

[1] - Keystrokes for this command can be customized in the Editor section of the Options dialog.