Default Key Bindings
Many keyboard shortcuts are automatically bound to allow keyboard access to most of the built-in edit actions.
The following tables describe the default key bindings that are in place when the SyntaxEditor control is created. These can be modified by using the SyntaxEditor.CommandLinks collection.
Clipboard/Undo Edit Actions
| Key | Edit Action |
|---|---|
| Ctrl+C | CopyToClipboardAction |
| Ctrl+Ins | CopyToClipboardAction |
| Ctrl+X | CutToClipboardAction |
| Shift+Del | CutToClipboardAction |
| Ctrl+L | CutLineToClipboardAction |
| Ctrl+V | PasteFromClipboardAction |
| Shift+Ins | PasteFromClipboardAction |
| Ctrl+Y | RedoAction |
| Ctrl+Shift+Z | RedoAction |
| Ctrl+Z | UndoAction |
Deletion Edit Actions
| Key | Edit Action |
|---|---|
| Bkspace | BackspaceAction |
| Shift+Bkspace | BackspaceAction |
| Ctrl+Bkspace | BackspaceToPreviousWordAction |
| Del | DeleteAction |
| Ctrl+Shift+L | DeleteLineAction |
| Ctrl+Del | DeleteToNextWordAction |
Insertion Edit Actions
| Key | Edit Action |
|---|---|
| Enter | InsertLineBreakAction |
| Shift+Enter | InsertLineBreakAction |
| Ctrl+Enter | OpenLineAboveAction |
| Ctrl+Shift+Enter | OpenLineBelowAction |
IntelliPrompt Edit Actions
| Key | Edit Action |
|---|---|
| Ctrl+Space | RequestIntelliPromptAutoCompleteAction |
| Ctrl+Shift+Space | RequestIntelliPromptParameterInfoSessionAction |
Miscellaneous Edit Actions
| Key | Edit Action |
|---|---|
| Tab | |
| Shift+Tab | |
| Ctrl+U | |
| Ctrl+Shift+U | |
| Ins | |
| Ctrl+T | |
| Ctrl+Shift+T | |
| Shift+Alt+T | |
| Alt+Up Arrow | |
| Alt+Down Arrow |
Movement Edit Actions
| Key | Edit Action |
|---|---|
| Down Arrow | MoveDownAction |
| Up Arrow | MoveUpAction |
| Left Arrow | MoveLeftAction |
| Right Arrow | MoveRightAction |
| Ctrl+Left Arrow | MoveToPreviousWordAction |
| Ctrl+Right Arrow | MoveToNextWordAction |
| Home | MoveToLineStartAction |
| End | MoveToLineEndAction |
| Ctrl+Home | MoveToDocumentStartAction |
| Ctrl+End | MoveToDocumentEndAction |
| PgUp | MovePageUpAction |
| PgDn | MovePageDownAction |
| Ctrl+PgUp | MoveToVisibleTopAction |
| Ctrl+PgDn | MoveToVisibleBottomAction |
| Ctrl+] | MoveToMatchingBracketAction |
Scroll Edit Actions
| Key | Edit Action |
|---|---|
| Ctrl+Down Arrow | ScrollDownAction |
| Ctrl+Up Arrow | ScrollUpAction |
Search Edit Actions
| Key | Edit Action |
|---|---|
| Ctrl+F | FindAction |
| F3 | FindNextAction |
| Ctrl+F3 | FindNextSelectedAction |
| Shift+F3 | FindPreviousAction |
| Ctrl+Shift+F3 | FindPreviousSelectedAction |
| Ctrl+H | ReplaceAction |
| Ctrl+I | IncrementalSearchAction |
| Ctrl+Shift+I | ReverseIncrementalSearchAction |