# 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).
