# Edit Menu actions

Name | Function | Keyboard Shortcut
--- | --- | ---
Undo | Reverts the last change made in the editor | Ctrl+Z
Redo | Re-applies a change previously reverted with Undo | Ctrl+Y
Cut | Copies the currently selected text to the clipboard and removes it from the editor | Ctrl+X
Copy | Copies the currently selected text to the clipboard | Ctrl+C
Paste | Pastes the contents of the clipboard, as text, to the currently active editor window | Ctrl+V
Delete | Deletes the currently selected text | Delete
Select All | Selects all the text in the currently active editor window | Ctrl+A
Expand Selection To | Expands the selection (or creates a selection starting from the cursor) in the following ways: | Alt+Shift+Arrow Keys

Enclosing Element
  Adds the enclosing expression or block to the selection (It relies on the embedded parser, so may fail when syntax errors are present.)

Alt+Shift+Up

Next Element
  Adds the following element to the selection

Alt+Shift+Right

Previous Element
  Adds the preceding element to the selection

Alt+Shift+Left

Restore Last Selection
  Restores the previous selection after an invocation of Expand Selection To.

Alt+Shift+Down

Find / Replace... | Opens the basic in-editor Find / Replace dialog | Ctrl+F
Find Word | Finds the next occurrence of either the word containing the cursor, or the first word of the current selection, if it covers multiple words (Added for Visual Studio compatibility.) |
Find Next | Finds the next occurrence of the currently selected text, or the last text searched for, if there is no selection | Ctrl+K
Find Previous | Finds the previous occurrence of the currently selected text, or the last text searched for, if there is no selection | Ctrl+Shift+K
Incremental Find Next | Starts the incremental find mode (Whatever is typed afterward will be searched for.) | Ctrl+J
Incremental Find Previous | Starts the incremental find mode, looking backward | Ctrl+Shift+J
Add Bookmark... | Adds a bookmark pointing to the current cursor position or selected text |
Add Task... | Adds a user defined task located at the current line |
Smart Insert Mode | Toggles the Smart Insert mode (i.e. the auto-completion features defined in C/C++ > Editor > Typing ) | Ctrl+Shift+Insert
Show Tooltip Description | Displays the tooltip appropriate to the cursor position. | F2
Word Completion | Completes the word containing the cursor using the next available completion (If invoked repeatedly it will cycle through the possibilities.) | Alt+/
Quick Fix | Displays the Quick Fix dialog appropriate to the cursor position. | Ctrl+1
Content Assist | Displays the Content Assist dialog appropriate to the cursor position (If invoked repeatedly it will cycle through the available proposal types.) | Ctrl+Space
Parameter Hints | Displays the possible signatures in a tooltip (Enabled when the cursor is in a parameter list) | Ctrl+Shift+Space
Set Encoding... | Displays a dialog in which the encoding of the active editor can be specified |