📄 gedit.sgml
字号:
</itemizedlist>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guimenu>Settings</guimenu></term>
<listitem>
<para>
The menu contains:
<itemizedlist mark="opencircle">
<listitem>
<para>
<menuchoice>
<guimenuitem>Show Status Bar</guimenuitem>
</menuchoice> —
This item controls whether you see the status bar or not. The status bar
gives you a brief description of the various menu items or messages about
what <application>gedit</application> is currently doing.
</para>
</listitem>
<listitem>
<para>
<menuchoice>
<guimenuitem>Preferences…</guimenuitem>
</menuchoice> —
This item brings up the <link linkend="prefs-0"><interface>Preferences…
</interface></link> dialog.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guimenu>Files</guimenu></term>
<listitem>
<para>
The menu contains all the files currently opened in <application>gedit</application>. If
you click on one of the files, the <interface>Main Window</interface> shows the file
you clicked on so you can edit it.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guimenu>Help</guimenu></term>
<listitem>
<para>
This menu contains:
<itemizedlist mark="opencircle">
<listitem>
<para>
<guimenuitem>Help</guimenuitem> —
shows this manual.
</para>
</listitem>
<listitem>
<para>
<guimenuitem>About</guimenuitem> — shows
basic information about
<application>gedit</application>, such as
the author's name, current developers, and the application version number.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
<sect2 id="pop-up-menu">
<title>Right Click Menu</title>
<para>
The <interface>right click</interface> menu is accessed by clicking
the right mouse button in the <interface>Main Window</interface> of
<application>gedit</application>.
</para>
<para>
This menu contains:
<itemizedlist mark="opencircle">
<listitem>
<para>
<menuchoice>
<shortcut>
<keysym>Ctl-X</keysym>
</shortcut>
<guimenuitem>Cut</guimenuitem>
</menuchoice> —
This item puts the highlighted text, in the <interface>text window</interface>,
in a buffer and then deletes the text that is highlighted from the file.
The <guimenuitem>Paste</guimenuitem> command takes the text
out of the buffer and inserts it in the file you are editing.
</para>
</listitem>
<listitem>
<para>
<menuchoice>
<shortcut>
<keysym>Ctl-C</keysym>
</shortcut>
<guimenuitem>Copy</guimenuitem>
</menuchoice> —
This item puts the highlighted text, in the <interface>text window</interface>,
in a buffer, but does not delete the text that is highlighted.
The <guimenuitem>Paste</guimenuitem> command takes the text
out of the buffer and inserts it in the file you are editing.
</para>
</listitem>
<listitem>
<para>
<menuchoice>
<shortcut>
<keysym>Ctl-V</keysym>
</shortcut>
<guimenuitem>Paste</guimenuitem>
</menuchoice> —
This item takes any text in the buffer and inserts it into the document. The
<guimenuitem>Cut</guimenuitem> and <guimenuitem>Copy</guimenuitem> commands
are the only way to put text into the buffer.
</para>
</listitem>
<listitem>
<para>
<menuchoice>
<guimenuitem>Select All</guimenuitem>
</menuchoice> —
This item highlights all the text in the current file you are editing.
</para>
</listitem>
<listitem>
<para>
<menuchoice>
<shortcut>
<keysym>Ctl-S</keysym>
</shortcut>
<guimenuitem>Save</guimenuitem>
</menuchoice> —
This item saves a file, if it is an existing file, or brings up the
<interface>Save As…</interface> dialog to save the new file.
</para>
</listitem>
<listitem>
<para>
<menuchoice>
<shortcut>
<keysym>Ctl-W</keysym>
</shortcut>
<guimenuitem>Close</guimenuitem>
</menuchoice> —
This item closes the current document in <application>gedit</application>. If
the item isn't saved, <application>gedit</application> will ask you if you
want to save the file or discard the changes you made to the file.
</para>
</listitem>
<listitem>
<para>
<menuchoice>
<guimenuitem>Print</guimenuitem>
</menuchoice> —
This item brings up the <interface>Print Document</interface> dialog.
See the <link linkend="print-dialog-fig"><interface>Print Document</interface>
dialog</link> to find out more about the <guimenuitem>Print</guimenuitem> command
in <application>gedit</application>.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
</sect1>
<sect1 id="bugs">
<title>Known Bugs and Limitations</title>
<para>
<itemizedlist mark="opencircle">
<listitem>
<para>
At this point <application>gedit</application> does not have syntax highlighting.
The current text widget that <application>gedit</application> uses is not
suitable for this feature.
</para>
</listitem>
</itemizedlist>
</para>
</sect1>
<sect1 id="faq">
<title>Frequently Asked Questions</title>
<qandaset defaultlabel="qanda">
<qandaentry id="highlighting">
<question>
<para>
I want syntax highlighting. When will it be included?
</para>
</question>
<answer>
<para>
Currently, the GTK+ Text widget isn't suitable for syntax highlighting to be implemented
reliably. We might add syntax highlighting when we migrate to the new text widget.
</para>
<para>
On the other hand, <application>gedit</application> intends to be a simple text editor.
If you are looking for syntax highlighting, we strongly recommend you use a full featured
text editor like <application>VIM</application>, <application>emacs</application>, or
<application>elvis</application>.
</para>
</answer>
</qandaentry>
<!--
<qandaentry id="slow-screen">
<question>
<para>
<application>Gedit</application> seems very slow when I type. After I start typing,
I can see the text appearing slowly, one character at a time. What is wrong?
</para>
</question>
<answer>
<para>
This behavior occurs when the active theme is poorly written. Change your theme to
a nicely written one. Having this kind of theme is not only affecting the speed
the <application>gedit</application> window is being redrawn, but all the gtk windows.
In <application>gedit</application> it is just more evident.
</para>
</answer>
</qandaentry>
-->
</qandaset>
</sect1>
<!-- ============= Authors ================================ -->
<sect1 id="authors">
<title>Authors</title>
<para>
<application>gedit</application> was written by Alex Roberts
(<email>bse@error.fsnet.co.uk</email>) and Evan Lawrence.
<application>gedit</application> is currently being maintained by
Chema Celorio (<email>chema@celorio.com</email>) and Jason Leach
(<email>leach@wam.umd.edu</email>). The artwork for
<application>gedit</application> was done by Steve Hall
(<email>steve_hall@mindspring.com</email>). To find more information about
<application>gedit</application>, please visit the <ulink
url="http://gedit.sourceforge.net" type="http">gedit web
page</ulink> at http://gedit.sourceforge.net. Please send all comments and suggestions to
the <application>gedit</application> mailing list
(<email>gedit-list@sourceforge.org</email>). Send all bug
reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME
bug tracking database</ulink>. (Instructions for submitting bug
reports can be found <ulink
url="http://bugs.gnome.org/Reporting.html" type="http">
on-line</ulink>.) If you are using
GNOME 1.1 or later, you can also use <application>Bug Report
Tool</application> (<command>bug-buddy</command>), available in the
<guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main
Menu</guimenu>, for submitting bug reports.
</para>
<para>
This manual was written by Eric Baudais
(<email>baudais@okstate.edu</email>). Please send all comments and
suggestions regarding this manual to the <ulink type="http"
url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink>
by sending an email to <email>docs@gnome.org</email>. You can also
add your comments online by using the <ulink type="http"
url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status
Table</ulink>.
</para>
<!-- For translations: uncomment this:
<para>
Latin translation was done by ME
(<email>MYNAME@MYADDRESS</email>). Please send all comments and
suggestions regarding this translation to SOMEWHERE.
</para>
-->
</sect1>
<!-- ============= Application License ============================= -->
<sect1 id="license">
<title>License</title>
<para>
This program is free software; you can redistribute it and/or
modify it under the terms of the <citetitle>GNU General Public
License</citetitle> as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later
version.
</para>
<para>
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
<citetitle>GNU General Public License</citetitle> for more details.
</para>
<para>
A copy of the <citetitle>GNU General Public License</citetitle> is
included as an appendix to the <citetitle>GNOME Users
Guide</citetitle>. You may also obtain a copy of the
<citetitle>GNU General Public License</citetitle> from the Free
Software Foundation by visiting <ulink type="http"
url="http://www.fsf.org">their Web site</ulink> or by writing to
<address>
Free Software Foundation, Inc.
<street>59 Temple Place</street> - Suite 330
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
<country>USA</country>
</address>
</para>
</sect1>
</article>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -