ubuntu 16.04 LTS - gedit

ubuntu 16.04 LTS - gedit

gedit (/ˈdʒɛdɪt/ or /ˈɡɛdɪt/) is the default text editor of the GNOME desktop environment and part of the GNOME Core Applications. Designed as a general-purpose text editor, gedit emphasizes simplicity and ease of use, with a clean and simple GUI, according to the philosophy of the GNOME project. It includes tools for editing source code and structured text such as markup languages.
It is free and open-source software subject to the requirements of the GNU General Public License version 2 or later.
gedit is also available for Mac OS X and Microsoft Windows.正则表达式

1. View
Edit -> Preferences -> Viewexpress

 


2. Editor
Edit -> Preferences -> Editorubuntu

 


3. Font & Colors
Edit -> Preferences -> Font & Colorsui

 

 

4. hot keys
Ctrl + End: 插入点直接移到文档末尾
Ctrl + Home: 插入点直接移到文档首部3d

 

5.  Find and Replace
Search -> Find and Replace...
Ctrl + Hcode

 


match case [mætʃ keis]:区分大小写,相符
regular expression, regex or regexp, rational expression:正则表达式
wrap around:adj. 卷绕的,环绕的
search backward [sə:tʃ ˈbækwəd]:向后搜索
match entire word only:全字匹配

匹配大小写:
选中此复选框后,查找结果 窗口将仅显示与 查找内容 中指定的字符串的内容和大小写均匹配的字符串实例。 例如,在选中 匹配大小写 复选框的状况下搜索 MyObject 将返回 MyObject,但不能返回 myobject 或 MYOBJECT。regexp

全字匹配:
选中此复选框后,查找结果 窗口将仅显示与 查找内容 中指定的字符串全字匹配的字符串实例。例如,搜索 MyObject 将返回 MyObject,而不会返回 CMyObject 或 MyObjectC。blog

正则表达式:
定义文本匹配模式的特殊表示法。ci