---
title: "Edit"
canonical: "https://docs.cuesystem.com/space/CVCIDE/498500730/Edit"
format: markdown
---
> Macro (toc)

---

# Cut

This action removes the selected text, graphic objects, etc. from the active window and copies it to the clipboard.

# Copy

This action copies the selected text, graphic objects, etc. to the clipboard.

# Paste

This action inserts text, graphic objects, etc. that you have cut or copied to the clipboard into the active window.

# Select All

Selects all text, graphic objects, etc. in the active window.

# Find and Replace ...

The** Find and Replace **dialog box can be activated from this menu or using shortcut (CTRL+F for finding, Ctrl+H for replacing) everywhere in CVC IDE.

![image](media://aa2be6ff-d3e3-473f-997c-6e466b95e185)

The user can select **Look in **the area from the following options:

- **Current module** - find/replace is performed throughout the current active module.
- **All user modules** - find/replace is performed throughout all user modules.
- **The entire project** - find/replace  is performed throughout the entire project.
- **Unit's user modules** - find/replace is performed throughout all user modules in selected unit. Supported since CVC 20.20.
- **Selection **-  find/replace is performed throughout selected text in the module. Supported since CVC 20.20.
  - It is not possible to choose selection look in manually in the dialog. The selection mode is selected automatically.
  - How to use selection look in mode
    - select the section in the module where you want to perform find/replace
    - choose Find/Replace in the menu or press shortcut (Ctrl+F for finding, Ctrl+H for replacing)
    - find/replace dialog is shown and selection mode in the Look in is selected.
    - perform a find/replace using the find/replace buttons in the dialog


![image](media://d2f5aeb8-8f30-4f20-b412-5c22a993b272)


# Undo

Backs out of the most recent change you have made in the source code editor, design editor, etc. Works in the active window.

# Redo

Reverses the undo you just accomplished through Undo. Works in the active window.

# Insert Code Unit ...

This function can be used to quickly insert a **Code Unit** (Function or Process) into the source code. In the form, it is possible to select the type of code unit, define the name, and return the type. By checking the Access check box you define the scope of the code unit.

![image](media://b58e7271-0804-49bc-95e5-af9214f2e07a)

# Insert Graphic Class ...

This function can be used to quickly insert a **Graphic Class** into the source code of a graphic object.

![image](media://7da182bd-ecd0-4b99-a4ab-1a0d4d21bf19)

# Insert Graphic Virtual Function ...

This function can be used to quickly insert a **Graphic Virtual Function** into the source code of a graphic object.

# Comment Block

This function sets the selected lines of program source code as a **comment**. A comment is used as an explanation of a program code. The explanatory remarks are entered along with the "//" characters or between "/*" and "*/".

# Uncomment Block

This function **cancels **the comment setting on the selected lines.

# Go to Definition

Goes to the **declaration **for a function, variable, constant, etc. when you click on a reference to such an item in your source code.