blob: 63eaa414e88c2eda6b1ce28a6048bab6c54063aa [file]
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"><title>gedit Manual V2.1</title><meta name="generator" content="DocBook XSL Stylesheets V1.45"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article"><div class="titlepage"><div><h1 class="title"><a name="index"></a>gedit Manual V2.1</h1>
<h2>Introduction</h2></div></div><p>The gedit application is a simple text
editor. You can use gedit to create and edit text
files. You can use gedit plugins to perform a
variety of tasks related to text-editing from within the
gedit window.</p></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="gedit-getting-started"></a>Getting Started</h2></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-to-start"></a>To Start gedit</h3></div></div><p>You can start gedit in the following ways:</p><div class="variablelist"><dl><dt><span class="term">Applications menu</span></dt><dd><p>Choose
Accessories-&gt;Text Editor. </p></dd><dt><span class="term">Command line</span></dt><dd><p>Type <b>gedit</b>, then press <b>Return</b>.</p></dd></dl></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-when-you-start"></a>When You Start gedit</h3></div></div><p>When you start gedit, the following window is displayed:</p><div class="figure"><p><a name="gedit-window"></a><b>Figure 1. gedit Window</b></p><div class="screenshot"><div class="mediaobject"><img src="figures/gedit_window.png" alt="Screenshot of the gedit main window."></div></div></div><p>The gedit window contains the following
elements: </p><div class="variablelist"><dl><dt><span class="term">Menubar</span></dt><dd><p>The menus on the menubar contain all of the commands you need
to work with files in gedit.</p></dd><dt><span class="term">Toolbar</span></dt><dd><p> The toolbar contains a subset of the commands that you can
access from the menubar.</p></dd><dt><span class="term">Display area</span></dt><dd><p> The display area contains the text of the file that you are
editing. </p></dd><dt><span class="term">Statusbar</span></dt><dd><p>The statusbar displays information about current
gedit activity and contextual information about the
menu items. </p></dd></dl></div><p>When you right-click in the gedit
window, the application displays a popup menu. The popup menu contains the most
common text editing commands. </p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-open-file"></a>To Open a File</h3></div></div><p>To open a file, choose
File-&gt;Open
to display the Open File dialog. Select the file
that you want to open, then click OK. The file is
displayed in the gedit window. </p><p>You can open multiple files in gedit.
The application displays one file at a time in the application window. The
application adds a tab for each open file to the window. To display another
open file, click on the tab that corresponds to the file. To create a new
gedit window for each file that is open, drag the
tab corresponding to each file to the desktop. You can also use the
Documents menu to move between the open files.</p><p>The application records the paths and filenames of the last
four files that you edited and displays the files as menu items on the File-&gt;Recent Files menu.
</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-run-from-cmd-line"></a>To Open Multiple Files from a Command Line</h3></div></div><p>You can run gedit from a command line
and open a single file or multiple files. To open multiple files from a command
line, type the following command, then press <b>Return</b>:</p><p><b>gedit <i><tt>file1.txt file2.txt file3.txt</tt></i></b></p><p>When the application starts, the files that you specified are
displayed in the gedit window.</p></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="gedit-usage"></a>Usage</h2></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-create-new-file"></a>To Create a New File</h3></div></div><p>To create a new file, choose
File-&gt;New. The application displays a new file in the
gedit window.</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-save-file"></a>To Save a File</h3></div></div><p>You can save files in the following ways:</p><div class="itemizedlist"><ul><li><p>To save changes to the current file, choose
File-&gt;Save or click Save
on the toolbar. If the file does not have a filename, gedit
displays the Save As dialog. Enter a name for the file in the
Save
As dialog, then click OK.</p></li><li><p>To save a new file or to save an existing file under a new filename, choose
File-&gt;Save
As. Enter a name for the file in the Save
As dialog box, then click OK. </p></li><li><p>To save all of the files that are currently open in
gedit, choose
File-&gt;Save
All.</p></li></ul></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-edit-text"></a>To Edit Text</h3></div></div><p>You can edit the text of a file in the following ways:</p><div class="itemizedlist"><ul><li><p>Type new text from the keyboard. </p></li><li><p>Use the <b>Delete</b> key to delete text.
</p></li><li><p>Use the Cut,
Copy, Paste, and
Delete menu items to edit text. </p></li></ul></div><p>When you select text with the mouse,
gedit automatically copies the selected text to a
buffer. You can perform any of the following actions on the selected text:
</p><div class="itemizedlist"><ul><li><p>To delete the selected text from the file and move the
selected text to a buffer, choose
Edit-&gt;Cut.</p></li><li><p>To permanently delete the selected text from the file, choose
Edit-&gt;Delete.</p></li><li><p>To insert the contents of the buffer at the cursor
position, middle-click or choose
Edit-&gt;Paste. You must cut or copy text
before you can paste text into the file.</p></li><li><p>To select all of the text in a file, choose
Edit-&gt;Select
All. </p></li></ul></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-undo-redo-edits"></a>To Undo or Redo Edits</h3></div></div><p>To undo an edit, choose
Edit-&gt;Undo. To redo an edit, choose
Edit-&gt;Redo. The number of previous edits that you can undo is determined by
the Set limit on undo levels to setting in the
<a href="#gedit-prefs-undo" title="Undo">the section called &#8220;Undo&#8221;</a> tabbed section of the
Preferences dialog. By default, the number of actions that you
can undo is 25.</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-find-text"></a>To Find Text</h3></div></div><p>To search a file for a string, perform the following steps:</p><div class="orderedlist"><ol type="1"><li><p>Choose
Search-&gt;Find
to display the Find dialog.</p></li><li><p>Type the string that you want to find in the
Search for field.</p></li><li><p>Select one of the following options:</p><div class="itemizedlist"><ul><li><p>Search from the beginning of the
document</p></li><li><p>Search from the cursor position
</p></li></ul></div></li><li><p>Select the Case sensitive option
to only find occurrences of the string that match the case of the text that you
type. </p></li><li><p>Click Find to search the file
for the first occurrence of the string. If gedit
finds the string, the application moves the cursor to the string, and selects
the string.</p></li><li><p>To find the next occurrence of the string, click
Find Next.</p></li><li><p>To finish the search, click
Close. </p></li></ol></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-find-replace-text"></a>To Find and Replace Text</h3></div></div><p>To search a file for a string, and replace the string with an
alternative string, perform the following steps:</p><div class="orderedlist"><ol type="1"><li><p>Choose
Search-&gt;Replace
to display the Replace dialog.</p></li><li><p>Type the string that you want to find in the
Search for field. </p></li><li><p>Type the string that you want to use to replace the
string that you find in the Replace with field.</p></li><li><p>Select one of the following options:</p><div class="itemizedlist"><ul><li><p>Search from the beginning of the
document</p></li><li><p>Search from the cursor
position</p></li></ul></div></li><li><p>Select the Case sensitive option
to only find occurrences of the string that match the case of the text that you
enter. </p></li><li><p>Click Find to search the file
for the first occurrence of the string. If gedit
finds the string, the application moves the cursor to the string, and selects
the string. </p></li><li><p>Click on Replace to replace the
occurrence of the string with the text that you typed in the Replace
with field. Click on Replace All to replace
all occurrences of the string.</p></li><li><p>To find the next occurrence of the string, click
Find Next.</p></li><li><p>To finish the search, click
Close. </p></li></ol></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-open-from-uri"></a>To Open a File from a URI</h3></div></div><p>To open a file from a Uniform Resource Identifier (URI), perform one of the following steps:</p><div class="itemizedlist"><ul><li><p>Choose File-&gt;Open Location
to display the Open from URI
dialog. Enter the URI of the
file that you want to
open, then click Open.</p></li><li><p>Type <b>gedit <i><tt>http://...</tt></i></b> at a command line, where
<i><tt>http://...</tt></i> is the URI of the file that you want to open, then press
<b>Return</b>.</p></li></ul></div><p>The application opens the file located at the URI in readonly mode.</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-pipe-output"></a>To Pipe the Output of a Command to a File</h3></div></div><p>You can use gedit to pipe the output of
a command to a text file. For example, to pipe the output of an <b>ls
</b> command to a text file, type the following command, then press
<b> Return</b>:</p><p><b>ls | gedit</b></p><p>The output of the <b>ls</b> command is displayed in a
new text file in the gedit window.</p><p>Alternatively, you can use the Shell Output plugin to pipe command
output to the current file. To use the Shell Output plugin, perform the
following steps:</p><div class="orderedlist"><ol type="1"><li><p>Load the Shell Output plugin. See <a href="#gedit-install-plugins" title="To Load gedit Plugins">the section called &#8220;To Load gedit Plugins&#8221;</a> for
information about how to load a plugin.</p></li><li><p>Choose
Edit-&gt;Insert Shell
Output
to display the Shell output dialog.
</p></li><li><p>Type the shell command that you want to execute in the
Shell command field.</p></li><li><p>Edit the Working directory field
if necessary. By default, the Shell Output plugin executes the command you
specify in the current directory.</p></li><li><p>Click Run. The Shell Output
plugin executes the command and inserts the text output into the current file.
</p></li></ol></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-goto-line"></a>To Go to a Specific Line</h3></div></div><p>To go to a specific line in the current file, perform the following
steps:</p><div class="orderedlist"><ol type="1"><li><p>Choose
Search-&gt;Goto
Line
to display the Goto line dialog.</p></li><li><p>Type the number of the line that you want to move the
cursor to in the Line number field.</p></li><li><p>Click Goto line. The application
moves the cursor to the line number that you specify.</p></li></ol></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-input-mode"></a>To Change the Input Mode</h3></div></div><p>To change the input mode, right-click in the text window, then select Input Methods.
The Insert Unicode control character menu item provides character layout
options that are useful for working with non-Latin character sets.</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-print-file"></a>To Print a File</h3></div></div><p>You can use gedit to perform the
following print operations:</p><div class="itemizedlist"><ul><li><p>Print a file to a printer. </p></li><li><p>Print the output of the print command to a file.</p></li></ul></div><p>If you print to a file, gedit sends the
output of the file to a pre-press format file. The most common pre-press
formats are PostScript and Portable Document Format (PDF).</p><p>To preview the pages that you want to print, choose
File-&gt;Print Preview
to display the gedit - Print Preview
dialog.</p><p>To print the current file to a printer or a file, choose
File-&gt;Print
to display the Print dialog.</p><p>The Print dialog allows you to specify the following
print options:</p><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="print-dialog-job"></a>Job Tabbed Section</h4></div></div><div class="variablelist"><dl><dt><span class="term">Print range </span></dt><dd><p>Select one of the following options to determine how
many pages to print:</p><div class="itemizedlist"><ul><li><p>All</p><p>Select this option to print all of the pages in the file.</p></li><li><p>Selection</p><p>Select this option to print the selected text only. This option
is only available if you selected text.</p></li></ul></div><p>Default: All.</p></dd><dt><span class="term">Copies </span></dt><dd><p>Use this spin box to specify the number of copies of the file that
you want to print.</p><p>Default: 1.</p></dd><dt><span class="term">Collate </span></dt><dd><p>If you are printing multiple copies of the file, select this option
to collate the printed copies.</p><p>Default: unselected.</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="print-dialog-printer"></a>Printer Tabbed Section</h4></div></div><div class="variablelist"><dl><dt><span class="term">Printer </span></dt><dd><p>Use this drop-down list box to select the printer to which you want
to print the file.</p><p>Default: Gnome default printer.</p></dd><dt><span class="term">Settings </span></dt><dd><p>Use this drop-down list box to select the printer settings. To configure
the printer, click Configure.</p><p>Default: Default.</p></dd><dt><span class="term">Location </span></dt><dd><p>Use this drop-down list box to select the print destination. To print the
file to a printer, choose lpr. To print the file
to a print file, choose File. If you select File,
type the name of the output file in the text box provided.</p><p>Default: lpr.</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="print-dialog-paper"></a>Paper Tabbed Section</h4></div></div><div class="variablelist"><dl><dt><span class="term">Paper size </span></dt><dd><p>Use this drop-down list box to select the size of the paper to
which you want to print the file.</p><p>Default: A4.</p></dd><dt><span class="term">Width </span></dt><dd><p>Use this spin box to specify the width of the paper. Use the
Centimeters drop-down list box to change the
measurement unit for specifying the paper size.</p><p>Default: 21.00 centimeters.</p></dd><dt><span class="term">Height </span></dt><dd><p>Use this spin box to specify the height of the paper.</p><p>Default: 29.70 centimeters.</p></dd><dt><span class="term">Page orientation </span></dt><dd><p>Use this drop-down list box to select the page orientation.</p><p>Default: Portrait.</p></dd><dt><span class="term">Layout </span></dt><dd><p>Use this drop-down list box to select the page layout. A preview
of each layout that you select is displayed in the Preview
area.</p><p>Default: Plain.</p></dd></dl></div></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-use-plugins"></a>To Use the gedit Plugins</h3></div></div><p>A plugin is a supplementary program that enhances the functionality
of an application. The gedit plugins enable you to
perform a variety of functions related to text editing from within the
gedit window. The following table lists the plugins
that are available.</p><div class="informaltable"><table border="1"><colgroup><col><col></colgroup><thead><tr valign="top"><th valign="top"><p>Plugin Name</p></th><th valign="top"><p>Purpose</p></th></tr></thead><tbody><tr valign="top"><td><p>ASCII table</p></td><td><p>Displays a dialog that contains an ASCII table. You can use the ASCII table to insert characters into a file.</p></td></tr><tr valign="top"><td><p>Compare files</p></td><td><p>Compares two files and displays the differences between the files in a new gedit window.
This plugin uses the diff program to compare the files.</p></td></tr><tr valign="top"><td><p>CVS ChangeLog</p></td><td><p>Opens the log messages associated with CVS commit commands.</p></td></tr><tr valign="top"><td><p>Insert Date/Time</p></td><td><p>Inserts the current date and time into a file.</p></td></tr><tr valign="top"><td><p>Shell Output</p></td><td><p>Inserts the text output of a shell command into a file. </p></td></tr><tr valign="top"><td><p>Tag list</p></td><td><p>Displays a dialog that contains a list of common tags. You can use the dialog to
insert a tag into a file. </p></td></tr><tr valign="top"><td><p>User name</p></td><td><p>Inserts the username of the current user into the file. </p></td></tr><tr valign="top"><td><p>Word count</p></td><td><p>Counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin
displays the results in a Word count window. </p></td></tr></tbody></table></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-install-plugins"></a>To Load gedit Plugins</h3></div></div><p>To load gedit plugins, choose
Edit-&gt;Plugin Manager.
The Plugin Manager dialog displays the following information:</p><div class="itemizedlist"><ul><li><p>A list of the plugins that are available.</p></li><li><p>A Configure plugin button. You can use this button to open a
configuration dialog for the plugins that you can configure.</p></li><li><p>A brief description of each plugin. To display a description,
select the plugin from the list of plugins.</p></li><li><p>Details about the author of the plugin and the name of the module.</p></li></ul></div><p>To load a plugin, select the check box next to the name of the plugin. The gedit application
adds the plugin to the appropriate gedit menu, as described in the following table.</p><div class="informaltable"><table border="1"><colgroup><col><col></colgroup><thead><tr valign="top"><th valign="top"><p>Plugin Name</p></th><th valign="top"><p>Added to Menu</p></th></tr></thead><tbody><tr valign="top"><td><p>ASCII table</p></td><td><p>View-&gt;ASCII Table</p></td></tr><tr valign="top"><td><p>Compare files</p></td><td><p>File-&gt;Compare files</p></td></tr><tr valign="top"><td><p>CVS ChangeLog</p></td><td><p>File-&gt;Open CVS ChangeLogs</p></td></tr><tr valign="top"><td><p>Word count</p></td><td><p>Search-&gt;Word Count</p></td></tr><tr valign="top"><td><p>Shell Output</p></td><td><p>Edit-&gt;Insert Shell Output</p></td></tr><tr valign="top"><td><p>Tag list</p></td><td><p>Edit-&gt;Tag List</p></td></tr><tr valign="top"><td><p>Insert Date/Time</p></td><td><p>Edit-&gt;Insert Date/Time</p></td></tr><tr valign="top"><td><p>User name</p></td><td><p>Edit-&gt;Insert User Name</p></td></tr></tbody></table></div><p>To remove a plugin, deselect the check box next to the name of the plugin.</p><p>To close the Plugin Manager dialog,
click Close.</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-customize-bars"></a>To Customize the Toolbar and Statusbar</h3></div></div><p>To display or hide the toolbar, choose View-&gt;Toolbar. To customize how gedit
displays the toolbar, choose View-&gt;Customize Toolbar, then select one of the following
menu items:</p><div class="itemizedlist"><ul><li><p>Desktop Default: display the default toolbar.</p></li><li><p>Icon: display icons only.</p></li><li><p>Icon and Text: display icons and text.</p></li></ul></div><p>To display or hide the statusbar, choose View-&gt;Statusbar. To customize how gedit
displays the statusbar, choose View-&gt;Customize Statusbar, then select one of the following
menu items:</p><div class="itemizedlist"><ul><li><p>Show Cursor Position: display the line number
and column number where the cursor is located.</p><p>Default: selected.</p></li><li><p>Show Overwrite Mode: display the editing mode.
If the editor is in insert mode, the statusbar contains the word INS. If the editor is in
overwrite mode, the statusbar contains the word OVR.</p><p>Default: selected.</p></li></ul></div></div></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="gedit-prefs"></a>Settings</h2></div></div><p>To configure gedit, choose
Edit-&gt;Preferences.</p><p>The Preferences dialog contains the following
categories:</p><div class="itemizedlist"><ul><li><p><a href="#gedit-prefs-editor" title="Editor">the section called &#8220;Editor&#8221;</a></p></li><li><p><a href="#gedit-prefs-print" title="Print">the section called &#8220;Print&#8221;</a></p></li></ul></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-prefs-editor"></a>Editor</h3></div></div><p>The Editor category is subdivided into the following
subcategories:</p><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-fontsandcolors"></a>Fonts and Colors</h4></div></div><div class="variablelist"><dl><dt><span class="term">Use default theme font </span></dt><dd><p>Select this option to use the default system font for the text in the gedit text window. </p><p>Default: unselected.</p></dd><dt><span class="term">Font used by the editor </span></dt><dd><p>This field displays the font that gedit uses to display text.
Click on the button to specify the font type, style, and size to use for text. </p><p>Default: Courier Medium 12 point.</p></dd><dt><span class="term">Use default theme colors </span></dt><dd><p>Select this option to use the default theme colors in the gedit text window. </p><p>Default: selected.</p></dd><dt><span class="term">Text color </span></dt><dd><p>Click on the Text color button to
display the color selector dialog. Select a color to use to display text in the gedit
text window. </p><p>Default: black.</p></dd><dt><span class="term">Background color </span></dt><dd><p>Click on the Background color button to
display the color selector dialog. Select a background color for the gedit
text window. </p><p>Default: white.</p></dd><dt><span class="term">Selected text color </span></dt><dd><p>Click on the Selected text color button to
display the color selector dialog. Select a color to use to display selected text.
</p><p>Default: white.</p></dd><dt><span class="term">Selection color </span></dt><dd><p>Click on the Selection color button to
display the color selector dialog. Select a background color to use to highlight a text selection.
</p><p>Default: blue.</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-tabs"></a>Tabs</h4></div></div><div class="variablelist"><dl><dt><span class="term">Set tabs width equivalent to </span></dt><dd><p>Use this spin box to specify the width of the space that
gedit inserts when you press the
<b>Tab</b> key. </p><p>Default: 8 characters.</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-wrapmode"></a>Wrap Mode</h4></div></div><div class="variablelist"><dl><dt><span class="term">Wrap mode </span></dt><dd><p>Select one of the following options to determine how
gedit wraps text in the gedit
window:
</p><div class="itemizedlist"><ul><li><p>Never wrap lines</p><p>Select this option to never wrap lines. The text that you type is displayed in one line until you press
<b>Return</b>.</p></li><li><p>Wrap lines at word boundaries</p><p>Select this option to wrap text onto the next line, at a word level, when you reach the text window boundary. </p></li><li><p>Wrap lines at character boundaries</p><p>Select this option to wrap text onto the next line, at a character level, when you reach the text window boundary.</p></li></ul></div><p>Default: Wrap lines at character boundaries.</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-linenumbers"></a>Line numbers</h4></div></div><div class="variablelist"><dl><dt><span class="term">Display line numbers </span></dt><dd><p>Select this option to display lines numbers on the left side of the
gedit window. </p><p>Default: unselected.</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-save"></a>Save</h4></div></div><div class="variablelist"><dl><dt><span class="term">Create a backup copy of files before saving </span></dt><dd><p>Select this option create a backup copy of a file each time you save the file. The backup
copy of the file has a <tt>.bak</tt> extension.</p><p>Default: unselected.</p></dd><dt><span class="term">Autosave current file every </span></dt><dd><p>Select this option to automatically save the current file at regular intervals. Use the spin box
to specify the interval at which you want to save the file.</p><p>Default: unselected, 10 minutes.</p></dd><dt><span class="term">When saving </span></dt><dd><p>Select one of the following save options:</p><div class="itemizedlist"><ul><li><p>Always use UTF-8 encoding (faster)</p><p>Select this option to save files using UTF-8 bit encoding.</p></li><li><p>Use current locale when possible</p><p>Select this option to save files using the current locale. You can set up locales for
different input methods. </p></li><li><p>Use current locale only if the file already uses it</p><p>Select this option to save a file using the current locale if the file was already saved in the current locale.</p></li></ul></div><p>Default: Always use UTF-8 encoding (faster)</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-undo"></a>Undo</h4></div></div><div class="variablelist"><dl><dt><span class="term">Set limit on undo levels to </span></dt><dd><p>Select this option to set a limit on the number of editing actions that you
can undo. Use the spin box to specify the maximum number of actions that you
can undo. </p><p>Default: selected, 25 actions.</p></dd></dl></div></div></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="gedit-prefs-print"></a>Print</h3></div></div><p>The Print category is subdivided into the following
subcategories:</p><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-page"></a>Page</h4></div></div><div class="variablelist"><dl><dt><span class="term">Print page headers </span></dt><dd><p>Select this option to include a header on each page that you
print. You can not configure the header. </p><p>Default: selected.</p></dd><dt><span class="term">Wrap lines (at character boundaries) </span></dt><dd><p>Select this option to automatically wrap text at a character level when you print
a file. The application counts wrapped lines as one line for line numbering purposes.
</p><p>Default: selected.</p></dd><dt><span class="term">Print line numbers every
</span></dt><dd><p>Select this option to include line numbers when you print a
file. Use the spin box to specify how often to print the line numbers, for
example every 5 lines, every 10 lines, and so on. </p><p>Default: unselected, 1 line.</p></dd></dl></div></div><div class="sect3"><div class="titlepage"><div><h4 class="title"><a name="gedit-prefs-fonts"></a>Fonts</h4></div></div><div class="variablelist"><dl><dt><span class="term">Font used to print the body </span></dt><dd><p>Click on this button to select the font to use to print the body text of a
file.</p><p>Default: Courier 9.0.</p></dd><dt><span class="term">Font used to print headers </span></dt><dd><p>Click on this button to select the font to use to print the headers in a
file. </p><p>Default: Helvetica 11.0.</p></dd><dt><span class="term">Font used to print line numbers
</span></dt><dd><p>Click on this button to select a font to use to print line numbers.</p><p>Default: Helvetica 8.0.</p></dd></dl></div><p>To reset the fonts to the default fonts for printing a file from gedit
click on the Restore default fonts button.</p></div></div></div></div></body></html>