# Edit, Search, Replace

![](https://gblobscdn.gitbook.com/assets%2F-LuPv_lMrFV1b9PLExvq%2F-M9I61KSh5gheAJipiD0%2F-M9Ia5k1XFfgbdJ6PezU%2Fzenstudio_edit_menus.png?alt=media\&token=20493e8f-05ca-4ed9-a557-fea2431c1204)

## **Overtype** (重寫模式) <a href="#overtype" id="overtype"></a>

![](https://gblobscdn.gitbook.com/assets%2F-LuPv_lMrFV1b9PLExvq%2F-M8L0PVPJZZ3C58B2JBk%2F-M8L0rWg4OmGwsSywNNe%2Fimage.png?alt=media\&token=8f6a4e66-effb-4556-b708-dbb9167f46f2)

Compiler編輯介面支援重寫模式, 切換鍵為鍵盤的INS鍵, 按INS鍵視窗右下角最左側欄位會出現INS跟OVR(重寫模式)互換, 在重寫模式時, 游標標註的字將會被輸入的字取代, INS(插入模式)則是輸入的字會插入由標標註的字之前.

## **Selecting Text** (標註文字) <a href="#selecting-text" id="selecting-text"></a>

如同在一般文字編輯器一樣, 我們可以用滑鼠把需要的字或區塊按滑鼠左鍵不放把它標註起來, 或點前方行號也可以把整行標註起來, 標註的區塊可以進行複製貼上或刪除, 與一般文字編輯軟體並無二致.

另外壓住SHIFT鍵在用滑鼠點起始位置跟點選結束位置也可把起始到結束的整個區塊標誌起來.

按住ALT鍵再按滑鼠左鍵不放, 移動滑鼠將會依滑鼠路徑畫出矩形區塊, 區塊內的文字將會被標註起來

![](https://gblobscdn.gitbook.com/assets%2F-LuPv_lMrFV1b9PLExvq%2F-M8PtO9BiMbRYDAN9UiW%2F-M8Q-io6EfT_59mb2vQ6%2Fimage.png?alt=media\&token=af8cd22f-2eb3-4d1d-aff1-d84f21d9ba2b)

當標註好文字區塊後, 點選滑鼠右鍵將可拉出編輯選單進行編輯操作.

### **Undo(取消上一次操作)** <a href="#undo" id="undo"></a>

有時候會發現做了錯誤的編輯操作, 這時可以按點選**Edit** 👉 **Undo或按CTRL+Z鍵來執行取消上一次操作, 系統將會回復到上一次操作之前的狀態.**

### **Redo(重做上一次操作)** <a href="#redo" id="redo"></a>

如果操作ReDo後想恢復之前操作可以執行ReDo, 點選**Edit** 👉 **Redo** 或按CTRL + Y.

### **Cut(剪下)** <a href="#cut" id="cut"></a>

將標住起來的部分剪下來可以執行**Edit** 👉 **Cut** 或按CTRL + X.

### **Copy(複製)** <a href="#copy" id="copy"></a>

欲複製標註的部分可執行**Edit** 👉 **Copy** 或按CTRL + C.

### **Paste(貼上)** <a href="#paste" id="paste"></a>

將複製或剪下的文字資料貼上指定的位置可執行**Edit** 👉 **Paste** 或按CTRL + V.

### **Select All(全選)** <a href="#select-all" id="select-all"></a>

欲選擇並標註所有文字可執行**Edit** 👉 **Select All** 或按CTRL + A.

### **Find/Replace...(找尋/取代)** <a href="#find-replace" id="find-replace"></a>

![](https://gblobscdn.gitbook.com/assets%2F-LuPv_lMrFV1b9PLExvq%2F-M8PnXgtoEs47wN_m0m_%2F-M8PnsJTwoDhBPSrvDDh%2Fimage.png?alt=media\&token=e161ee97-7161-4a7b-8a86-2a23a511238f)

若要找尋特定文字或要用新文字字串取代舊文字字串可以執行**Edit** 👉 **Find/Replace** 或按CTRL + F, 會出現上述視窗, Find what: 填入欲找的字串, Replace with: 填入欲取代舊字串的新字串, 點選FIND TEXT後會先找尋, 找到後畫面會停在找的字串的位置, 確認要替換就按下REPLACE即可.

### **Go to Line/Column...(前往特定行列)** <a href="#go-to-line-column" id="go-to-line-column"></a>

![](https://gblobscdn.gitbook.com/assets%2F-LuPv_lMrFV1b9PLExvq%2F-M8PntwA-LNjygl2Oink%2F-M8Po0YjqEM5YktiFygA%2Fimage.png?alt=media\&token=6bf18328-ebbb-4489-9b29-ebbd7cdd0035)

有時腳本資料大可能上千條程式碼, 若要找尋特定的行列可執行**Edit** 👉 **Go to Line/Column...** 或按CTRL + G輸入行列數即可.


---

# 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://zen.cronusmax.com.tw/cronuszen/software/edit-search-replace.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.
