New to Telerik UI for WPF? Start a free 30-day trial
Keyboard Support
Updated on Sep 15, 2025
The keyboard combinations supported by the RadSyntaxEditor are listed in the table below.
| Hot Key(s) | Action |
|---|---|
| Left arrow | Move to previous character |
| Right arrow | Move to next character |
| Left arrow + Ctrl | Move to previous word |
| Right arrow + Ctrl | Move to next word |
| Up arrow | Move line up |
| Down arrow | Move line down |
| Home | Move to home |
| End | Move to line end |
| Page Up | Move page up |
| Page Down | Move page down |
| Ctrl + Home | Move to start of document |
| Ctrl + End | Move to end of document |
| Ctrl + A | Select all |
| Ctrl + C | Copy |
| Ctrl + Insert | Copy |
| Ctrl + Space | Show code completion prompt |
| Ctrl + F | Open the find dialog |
| Escape | Close the find dialog |
| Backspace | Delete the previous character |
| Delete | Delete the next character |
| Ctrl + Backspace | Delete the previous word |
| Ctrl + Delete | Delete the next word |
| Tab | Indent |
| Shift + Tab | Unindent |
| Ctrl + Z | Undo |
| Ctrl + Y | Redo |
| Ctrl + X | Cut |
| Shift + Delete | Cut |
| Ctrl + V | Paste |
| Shift + Insert | Paste |
| Insert | Toggle insert |
If you need to handle a key combination which is not listed above, you can do so by handling the PreviewSyntaxEditorKeyDown event.
Example 1: Handling the Ctrl+S keyboard combination
C#
private void SyntaxEditor_PreviewSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
{
if (e.Key == Key.S && KeyboardModifiers.IsControlDown)
{
e.OriginalArgs.Handled = true;
}
}