# Edit, Search, Replacement

The Zen Studio Compiler supports standard editor operations including:

• Undo / Redo\
• Cut / Copy / Paste\
• Select All\
• Find / Replace\
• Go to Line / Column

All functions are available via the **Edit Menu**, keyboard shortcuts, or right-click context menu.

## Indentation

***

Indentation improves code readability by organizing logic into structured blocks.

• **Tab** – Indent current line or selected block\
• **Shift + Tab** – Remove indentation

Multiple lines can be indented simultaneously by selecting them before pressing Tab.

## Overtype Mode

***

Press the **Insert** key to toggle between:

• **INS** – Insert mode (default)\
• **OVR** – Overwrite mode

The current mode is displayed in the status bar.\
The cursor shape changes to reflect the active mode.

## Selecting Text

***

Text can be selected using:

• Click and drag\
• Double-click (select word)\
• Triple-click (select line)\
• Click line number margin (select full line)

Extend selection with:

• **Shift + Click**\
• **Shift + Arrow Keys**

Rectangle (block) selection:

• Hold **Alt** while selecting with the mouse.

## Edit Menu Commands

***

### Undo (Ctrl + Z)

Reverses the last action.\
Can be repeated until returning to the original state.

### Redo (Ctrl + Y)

Reapplies the last undone action.

### Cut (Ctrl + X)

Removes selected text and copies it to the clipboard.

### Copy (Ctrl + C)

Copies selected text without removing it.

### Paste (Ctrl + V)

Inserts copied or cut text at the cursor location.

### Select All (Ctrl + A)

Selects all text in the current document.

## Find / Replace (Ctrl + F)

***

Search for specific text or replace matching entries.

Useful for:

• Variable renaming\
• Refactoring\
• Large script adjustments

## Go to Line / Column (Ctrl + G)

***

Jump directly to a specific line or column number.

Recommended for large scripts (4000+ lines).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.cronuszen.com/zen-studio/edit-search-replacement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
