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 |
---|---|
Backspace | BackspaceAction |
Shift + Backspace | BackspaceAction |
Ctrl + Backspace | 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 |
Insert | ToggleOverwriteModeAction |
Ctrl + T | TransposeCharactersAction |
Ctrl + Shift + T | TransposeWordsAction |
Shift + Alt + T | TransposeLinesAction |
Alt + Up | MoveSelectedLinesUpAction |
Alt + Down | MoveSelectedLinesDownAction |
Ctrl + Num+ | ZoomInAction |
Ctrl + Num- | ZoomOutAction |
Ctrl + 0 | ResetZoomLevelAction |
Movement Edit Actions
Key | Edit Action |
---|---|
Down | MoveDownAction |
Up | MoveUpAction |
Left | MoveLeftAction |
Right | MoveRightAction |
Ctrl + Left | MoveToPreviousWordAction |
Ctrl + Right | MoveToNextWordAction |
Home | MoveToLineStartAction |
End | MoveToLineEndAction |
Ctrl + Home | MoveToDocumentStartAction |
Ctrl + End | MoveToDocumentEndAction |
Page Up | MovePageUpAction |
Page Down | MovePageDownAction |
Ctrl + Page Up | MoveToVisibleTopAction |
Ctrl + Page Down | MoveToVisibleBottomAction |
Ctrl + ] | MoveToMatchingBracketAction |
Scroll Edit Actions
Key | Edit Action |
---|---|
Ctrl + Down | ScrollDownAction |
Ctrl + Up | 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 |