文字編輯器Geany

2021-09-19 08:25:44 字數 701 閱讀 2995

(program exited with code: 0)

press return to continue

b.1.4 定製 geany 的設定

下面來定製本附錄開頭提到的功能,盡可能提高geany的效率。

將製表符轉換為空格

在**中混合使用製表符和空格可能會給python程式帶來極難診斷的問題。為在geany中查

看縮排設定,選擇選單editpreferences,再依次單擊editor和indentation。將製表符寬度設定為4,

並將type設定為spaces。

如果你在程式中混合使用了識別符號和空格,可選擇選單documentreplace tabs by spaces

(「替換製表符為空格」),將所有製表符都轉換為空格。

設定行長標誌

在大多數編輯器中,都可設定視覺線索(通常是一條豎線),來指出**行應在什麼地方結

束。要在geany中設定這項功能,請選擇選單editpreferences,再依次單擊editor和display,確

保啟用了長行標誌,再確保文字框「列」中的值為79。

縮排和撤銷縮排**塊

要縮排**塊,可選擇它,再選擇選單editformatincrease indent,也可按ctrl + i。要撤

銷**塊縮排,可選擇選單editformatdecrease indent,也可按ctrl + u。

文字編輯器

include stdio.h include string.h include stdlib.h define len sizeof struct linetable struct linetable main 輸出並加入行號 display struct linetable head else ...

文字編輯器

text editer文字編輯器 data ref container tec type ref to cl gui custom container.data ref edit type ref to cl gui textedit.data text line 85 work area it t...

文字編輯器

uedit notepad mybase 筆記類工具 sublime 列模式操作很牛叉 sublime 快捷鍵 常用類操作模式 1.選擇編輯的行,ctrl l,就可以操作了。2.按住shiftr 鍵盤,滑鼠右鍵選擇欲選擇內容。ctrl l 選擇整行 按住 繼續選擇下行 ctrl kk 從游標處刪除至...