ST Keyboard Shortcuts

These 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 saved on the clipboard to the insertion point (not available while debugging)
Shift+Insert
Pastes text saved on 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, when the insertion point is on a variable it opens the
Write Logical Value
dialog box.
Ctrl+Enter
Inserts a line above the current line. While debugging, when the insertion point is on a variable it opens the
Write Logical Value
dialog box.
Ctrl+Shift+Enter
Inserts a line below the current line. While debugging, when the insertion point is on a variable it 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 drop-down combo box listing available items such as variables, operators, functions, and function blocks. Filter displayed items by typing letters, digits, and specific special characters: !, #, $, %, &, \, *, +, -, /, <, :, =, >, ?, @, ^, _, `, |, and ~. (not available while debugging)
Ctrl+Shift+Space
Displays a drop-down combo box listing available items such as variables, operators, functions, and function blocks. Filter displayed items by typing letters, digits, and specific special characters: !, #, $, %, &, \, *, +, -, /, <, :, =, >, ?, @, ^, _, `, |, and ~. (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
Moves up lines and characters
Down Arrow
Moves down lines and characters
Left Arrow
Moves left across lines and characters
Right Arrow
Moves right across lines and characters
Ctrl+Left Arrow
Moves to the previous statement or word
Ctrl+Right Arrow
Moves to the next statement or word
Home
Jumps to the start of the line
End
Jumps to the end of the line
Ctrl+Home
Jumps to the start of the document
Ctrl+End
Jumps to the end of the document
Page Up
Jumps to the top of the visible code
Page Down
Jumps to the bottom of the visible code
Ctrl+Page Up
Jumps to the top of the visible code
Ctrl+Page Down
Jumps to the bottom of the visible code
Ctrl+Up Arrow
Scrolls up
Ctrl+Down Arrow
Scrolls down
Shift+Up Arrow
Selects up
Shift+Down Arrow
Selects down
Shift+Left Arrow
Selects left
Shift+Right Arrow
Selects 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 until the start of the line
Shift+End
Selects from the insertion point until the end of the line
Ctrl+Shift+Home
Selects from the insertion point until the start of the document
Ctrl+Shift+End
Selects from the insertion point until the end of the document
Shift+Page Up
Selects from the insertion point until the top of the visible code
Shift+Page Down
Selects from the insertion point until the end of the visible code
Ctrl+Shift+Page Up
Selects from the insertion point until the top of the visible code
Ctrl+Shift+Page Down
Selects from the insertion point until 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 left on the current line
Shift+Alt+Right Arrow
Selects right on the current line
Ctrl+Shift+Alt+Left Arrow
Selects available columns in lines of code from the left to right
Ctrl+Shift+Alt+Right Arrow
Selects available columns in lines of code from the right to left
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
. When the insertion point is on a variable during debugging, it is selected.
Ctrl+Alt+R
Opens the
Block Selector
. When the insertion point is on a variable during debugging, it is selected.
Ctrl+Shift+Alt+R
Opens the
Block Selector
. When the insertion point is on a variable during debugging, it is selected.
Delete
Removes the character on the right (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 character on the left (not available while debugging)
Shift+Backspace
Removes the character on the left (not available while debugging)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal