ST Keyboard Shortcuts

Keyboard shortcuts are available for use with the Structured Text (ST) language. Some shortcuts do not apply or may differ while debugging.
Keyboard Shortcut
Description
Ctrl+A
Selects the entire document (not available while debugging)
Ctrl+C
Copies the selected text to the clipboard (not available while debugging)
Ctrl+Insert
Copies the selected text to the clipboard (not available while debugging)
Ctrl+V
Pastes text copied to the clipboard to the insertion point (not available while debugging)
Shift+Insert
Pastes text copied to the clipboard to the insertion point (not available while debugging)
Ctrl+X
Cuts the selected text to the clipboard (not available while debugging)
Shift+Delete
Cuts the selected text to the clipboard (not available while debugging)
Ctrl+L
Cuts the current line to the clipboard (not available while debugging)
Ctrl+Z
Undoes the previous command (not available while debugging)
Ctrl+Y
Redoes the previous command (not available while debugging)
Ctrl+Shift+Z
Redoes the previous command (not available while debugging)
Shift+Alt+Enter
Toggles between full-screen and windowed modes
Insert
Toggles between the overwrite/insert typing mode
Shift+Enter
Inserts a line break. While debugging, placing the insertion point on a variable opens the
Write Logical Value
dialog box.
Ctrl+Enter
Inserts a line above the current line. While debugging, placing the insertion point on a variable opens the
Write Logical Value
dialog box.
Ctrl+Shift+Enter
Inserts a line below the current line. While debugging, placing the insertion point on a variable opens the
Write Logical Value
dialog box.
Ctrl+Shift+T
Transposes the current and previous word (not available while debugging)
Ctrl+Shift+Alt+T
Transposes the current and next line (not available while debugging)
Ctrl+Space
Displays a list of available items such as variables, operators, functions, and function blocks. Filter displayed items by typing letters, digits, and underscore characters. (not available while debugging)
Ctrl+Shift+Space
Displays a list of available items such as variables, operators, functions, and function blocks. Filter displayed items by typing letters, digits, and underscore characters. (not available while debugging)
Ctrl+Shift+U
Changes the selected text into uppercase (not available while debugging)
Ctrl+U
Changes the selected text into lowercase (not available while debugging)
Up Arrow
Positions the insertion point in the previous line.
Down Arrow
Positions the insertion point in the next line.
Left Arrow
Positions the insertion point before the previous character.
Right Arrow
Positions the insertion point after the next character
Ctrl+Left Arrow
Positions the insertion point on the previous statement or word
Ctrl+Right Arrow
Positions the insertion point on the next statement or word
Home
Positions the insertion point at the beginning of the line
End
Positions the insertion point at the end of the line
Ctrl+Home
Positions the insertion point at the beginning of the document
Ctrl+End
Positions the insertion point at the end of the document
Page Up
Positions the insertion point at the top of the of the visible code
Page Down
Positions the insertion point at the bottom of the page of the visible code
Ctrl+Page Up
Positions the insertion point at the beginning of the code
Ctrl+Page Down
Positions the insertion point at the end of the code
Ctrl+Up Arrow
Scrolls up
Ctrl+Down Arrow
Scrolls down
Shift+Up Arrow
Selects characters from the insertion point to the previous line
Shift+Down Arrow
Selects characters from the insertion point to the next line
Shift+Left Arrow
Selects characters to the left
Shift+Right Arrow
Selects characters to the right
Ctrl+Shift+Left Arrow
Selects to the previous statement or word
Ctrl+Shift+Right Arrow
Selects to the next statement or word
Shift+Home
Selects from the insertion point to the start of the line
Shift+End
Selects from the insertion point to the end of the line
Ctrl+Shift+Home
Selects from the insertion point to the beginning of the document
Ctrl+Shift+End
Selects from the insertion point to the end of the document
Ctrl+Shift+Page Up
Selects from the insertion point to the top of the visible code
Ctrl+Shift+Page Down
Selects from the insertion point to the end of the visible code
Ctrl+Shift+W
Selects the next word
Shift+Alt+Up Arrow
Selects the current and previous lines
Shift+Alt+Down Arrow
Selects the current and next lines
Shift+Alt+Left Arrow
Selects the previous character on the current line
Shift+Alt+Right Arrow
Selects the next character on the current line
Escape
Deselects the selected text
Ctrl+I
Opens the
Variable Selector
. (Design mode only)
Ctrl+Shift+I
Opens the
Variable Selector
. (Design mode only)
Ctrl+R
Opens the
Block Selector
. During debugging, selects the variable with the insertion point.
Ctrl+Alt+R
Opens the
Block Selector
. During debugging, selects the variable with the insertion point.
Ctrl+Shift+Alt+R
Opens the
Block Selector
. During debugging, selects the variable with the insertion point.
Delete
Removes the next character (not available while debugging)
Ctrl+Shift+L
Removes the current line (not available while debugging)
Ctrl+Delete
Removes the next word in the current line (not available while debugging)
Ctrl+Backspace
Removes the previous word in the current line (not available while debugging)
Backspace
Removes the previous character (not available while debugging)
Shift+Backspace
Removes the previous character (not available while debugging)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal