This topic contains the following sections.
You can use the following keyboard shortcuts in the VisionPro scripting editor. Most shortcuts use a single key with the Shift, Alt, or Control key modifiers. Some shortcuts require multiple keystrokes, for example: Control + K followed by Control + C.
These are the standard keys that work in most Windows applications.
| Command | Keyboard Shortcut | Description |
| Delete Right | Delete | Deletes character to the right of the cursor |
| Delete Left | Backspace Shift + Backspace | Deletes character to the left of the cursor |
| Delete Word Left | Control + Backspace | Deletes the word to the left of the cursor |
| Delete Word Right | Control + Delete | Deletes the word to the right of the cursor |
| New Line | Return Shift + Return | Inserts a new line after cursor |
| New Line Above | Control + Return | Inserts a new line above the line that contains the cursor |
| New Line Below | Control + Shift + Return | Inserts a new line below the line that contains the cursor |
| Undo | Control + Z Alt + Backspace | Undoes the last command |
| Redo | Control + Shift + Z Alt + Shift + Backspace | Redo the last command |
| Toggle Insert Mode | Insert | Toggles Insert or Overwrite mode |
| Copy | Control + C Control + Insert | Copies the current selection to the clipboard |
| Cut | Control + X Shift + Delete | Cuts the current selection to the clipboard |
| Paste | Control + V Shift + Insert | Pastes the clipboard at the cursor or replacing the current selection |
| Cut Line | Control + L | Cuts the current line to the clipboard |
| Delete Line | Control + Shift + L | Deletes the current line |
These keys move the cursor within the document.
| Command | Keyboard Shortcut | Description |
| Move Line Up | Up Arrow | Moves cursor to the previous line |
| Move Line Down | Down Arrow | Moves cursor to the next line |
| Move Left | Left Arrow | Moves cursor left one character |
| Move Right | Right Arrow | Moves cursor right one character |
| Move Left Word | Control + Left Arrow | Moves cursor to the beginning of current word |
| Move Right Word | Control + Right Arrow | Moves cursor to the beginning of next word |
| Move Page Up | Page Up | Moves cursor up one page |
| Move Page Down | Page Down | Moves cursor down one page |
| Move to Screen Top | Control + Page Up | Moves cursor top of the window |
| Move to Screen Bottom | Control + Page Down | Moves cursor to bottom of the window |
| Move to Beginning of Document | Control + Home | Moves cursor to the beginning of the document |
| Move to End of Document | Control + End | Moves cursor to the end of the document |
| Move to Beginning of Line | Home | Moves cursor to the beginning of the line |
| Move to End of Line | End | Moves cursor to the end of the line |
| Scroll Line Up | Control + Up Arrow | Scrolls up one line |
| Scroll Line Down | Control + Down Arrow | Scrolls down one line |
| Move to Matching Open | Control + [ | Moves to matching open delimiter if cursor is placed before closing delimeter |
| Move to Matching Close | Control + ] | Moves to matching closing delimiter if cursor is placed before opening delimeter |
| Select to Matching Open | Control + Shift + [ | Extends selection to matching open delimiter if cursor is placed before closing delimeter |
| Select to Matching Close | Control + Shift + ] | Extends selection to matching closing delimiter if cursor is placed before opening delimeter |
These keys let you select ranges of text.
| Command | Keyboard Shortcut | Description |
| Select All | Control + A | Selects the entire document |
| Select Line Up | Shift + Up Arrow | Extends selection to the line above the cursor |
| Select Line Down | Shift + Down Arrow | Extends selection to the line below the cursor |
| Select Character Left | Shift + Left Arrow | Extends selection to the character to the left of the cursor |
| Select Character Right | Shift + Right Arrow | Extends selection to the character to the right of the cursor |
| Select Word Left | Control + Shift + Left Arrow | Extends selection to the beginning of the word to the left of the cursor |
| Select Word Right | Control + Shift + Right Arrow | Extends selection to the beginning of the word to the right of the cursor |
| Select Word | Control + W | Selects the word that the cursor is in |
| Select Page Up | Shift + Page Up | Extends selection up one page |
| Select Page Down | Shift + Page Down | Extends selection down one page |
| Select to Beginning of Line | Shift + Home | Extends selection to the beginning of the line |
| Select to End of Line | Shift + End | Extends selection to the end of the line |
| Select to Beginning of Document | Control + Shift + Home | Extends selection to the beginning of the document |
| Select to End of Document | Control + Shift + End | Extends selection to the end of the document |
| Select to Beginning of Window | Control + Shift + Page Up | Extends selection to the beginning of the window |
| Select to End of Window | Control Shift + Page Down | Extends selection to the end of the window |
| Select to Matching Open | Control + Shift + [ | Extends selection to matching open delimiter if cursor is placed before closing delimeter |
| Select to Matching Close | Control + Shift + ] | Extends selection to matching closing delimiter if cursor is placed before opening delimeter |
These keys let you select rectangular regions of text.
| Command | Keyboard Shortcut | Description |
| Block Select Line Up | Alt + Shift + Up Arrow | Extends block selection to the line above the cursor |
| Block Select Line Down | Alt + Shift + Down Arrow | Extends block selection to the line below the cursor |
| Block Select Character Left | Alt + Shift + Left Arrow | Extends block selection to the character to the left of the cursor |
| Block Select Character Right | Alt + Shift + Right Arrow | Extends block selection to the character to the right of the cursor |
| Block Select Word Left | Alt + Control + Shift + Left Arrow | Extends block selection to the beginning of the word to the left of the cursor |
| Block Select Word Right | Alt + Control + Shift + Right Arrow | Extends block selection to the beginning of the word to the right of the cursor |
| Block Select Page Up | Alt + Shift + Page Up | Extends block selection up one page |
| Block Select Page Down | Alt + Shift + Page Down | Extends block selection down one page |
| Block Select to Beginning of Line | Alt + Shift + Home | Extends block selection to the beginning of the line |
| Block Select to End of Line | Alt + Shift + End | Extends block selection to the end of the line |
| Block lSelect to Beginning of Document | Alt + Control + Shift + Home | Extends block selection to the beginning of the document |
| Block Select to End of Document | Alt + Control + Shift + End | Extends block selection to the end of the document |
| Block Select to Beginning of Window | Alt + Control + Shift + Page Up | Extends block selection to the beginning of the window |
| Block Select to End of Window | Alt + Control + Shift + Page Down | Extends block selection to the end of the window |
These keys transform the text around the current cursor or within the currently selected text.
| Command | Keyboard Shortcut | Description |
| Changes Spaces to Tabs | Control + Q | Changes spaces to tabs in selected text |
| Changes Tabs to Spaces | Control + Shift + Q | Changes tabs to spaces in selected text |
| Make Lowercase | Control + U | Changes the selection (or the character to the right of the cursor) to lower case |
| Make Uppercase | Control + Shift + U | Changes the selection (or the character to the right of the cursor) to UPPER case |
| Capitalize | Control + Shift + C | Changes the selection so that only the initial character is Uppercase |
| Transpose Character | Control + T | Transposes the characters on either side of the cursor |
| Transpose Word | Control + Shift + T | Transposes the two words to the right of the cursor |
| Transpose Line | Alt + Shift + T | Transposes the two lines on either side of the cursor |
| Remove Whitespace | Control + K Control + \ | Removes all tabs and spaces in the selection |
| Comment Selection | Control + K Control + C | Comments each line in the selection |
| Uncomment Selection | Control + K Control + U | Uncomments each line in the selection |
These let you control the level of outlining in the Script editor.
| Command | Keyboard Shortcut | Description |
| Toggle Outlining | Control + M Control + L | Collapse or expand all outlining |
| Toggle Outlining of Region | Control + M Control + M | Collapse or expand outlining in the region that contains the cursor |
| Collapse to Definitions | Control + M Control + O | Collapse outlining so that only definitions are visible |
These keys let you search for strings in the text.
| Command | Keyboard Shortcut | Description |
| Find | Control + F | Opens Find dialog |
| Find Next | F3 | Find next instance of search string |
| Find Next | Shift + F3 | Find previous instance of search string |
| Find Next Selected | Control + F3 | Find next instance of the selected text |
| Find Previous Selected | Control + Shift + F3 | Find previous instance of the selected text |
| Replace | Control + H | Opens Find and Replace dialog |
| Go to Line | Control + G | Opens Go to Line dialog |
| Incremental Search | Control + I | Starts incremental search (Escape cancels) |
| Reverse Incremental Search | Control + Shift + I | Starts reverse incremental search (Escape cancels) |
| Set Search Options | Alt + F3 H: Search Hidden Text Alt + F3 C: Match Case Alt + F3 R: Use Regular Expressions Alt + F3 B: Search Up Alt + F3 W: Match Whole Word | Sets search options as in the Find dialog |