In This Article

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.InputBindings 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

InsertTabStopOrIndentAction

Shift+Tab

RemoveTabStopOrOutdentAction

Ctrl+U

MakeLowercaseAction

Ctrl+Shift+U

MakeUppercaseAction

Ins

ToggleOverwriteModeAction

Ctrl+T

TransposeCharactersAction

Ctrl+Shift+T

TransposeWordsAction

Shift+Alt+T

TransposeLinesAction

Alt+Up Arrow

MoveSelectedLinesUpAction

Alt+Down Arrow

MoveSelectedLinesDownAction

Ctrl+Num +

ZoomInAction

Ctrl+Num -

ZoomOutAction

Ctrl+0

ResetZoomLevelAction

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

Selection Edit Actions

Key Edit Action
Ctrl+Shift+Num - CodeBlockSelectionContractAction
Ctrl+Shift+Num + CodeBlockSelectionExpandAction
Esc CollapseSelectionAction
Shift+Down Arrow SelectDownAction
Shift+Up Arrow SelectUpAction
Shift+Left Arrow SelectLeftAction
Shift+Right Arrow SelectRightAction
Ctrl+Shift+Left Arrow SelectToPreviousWordAction
Ctrl+Shift+Right Arrow SelectBlockToNextWordAction
Shift+Home SelectToLineStartAction
Shift+End SelectToLineEndAction
Ctrl+Shift+Home SelectToDocumentStartAction
Ctrl+Shift+End SelectToDocumentEndAction
Shift+PgUp SelectPageUpAction
Shift+PgDn SelectPageDownAction
Ctrl+Shift+PgUp SelectToVisibleTopAction
Ctrl+Shift+PgDn SelectToVisibleBottomAction
Ctrl+A SelectAllAction
Ctrl+D AddNextOccurrenceToSelectionAction
Ctrl+Shift+W SelectWordAction
Ctrl+Shift+] SelectToMatchingBracketAction
Shift+Alt+Down Arrow SelectBlockDownAction
Shift+Alt+Up Arrow SelectBlockUpAction
Shift+Alt+Left Arrow SelectBlockLeftAction
Shift+Alt+Right Arrow SelectBlockRightAction
Ctrl+Shift+Alt+Left Arrow SelectBlockToPreviousWordAction
Ctrl+Shift+Alt+Right Arrow SelectBlockToNextWordAction