gedit | ||
---|---|---|
<<< Previous | Next >>> |
In gedit there are three different type of menus. The menu bar contains all the commands, options, and plug-ins. The toolbar contains selected commands the user uses the most. The right click menu in the text window, contains the commands that are useful while editing a file. Only the menu bar is described in this section because it is so large. The toolbar and right click menu are talked about in other sections of gedit's manual.
The menu bar can be moved around the desktop. When you click on the far left side of the menu bar, on the raised dotted portion, you can drag [1] the menu bar with your mouse and move it anywhere on your desktop. The menu bar can also snap into place on all four sides of the Main Window, if you place your mouse close to the edge of the Main Window. The menu bar's default position is located at the top of the Main Window and contains the following menus:
The menu contains:
New — This item opens a new file.
Open… (F3) — This item brings up the Open File… dialog. From there you can open an existing file.
Save (Ctl-S) — This item saves the current file, if the file was previously saved, or brings up the Save As… dialog to save the file.
Save All — This item saves all the files that are open in gedit.
Save As… — This item brings up the Save As… dialog to save the selected file in gedit. You should use this command if you want to save the file under a different name.
Revert — This item discards all changes you made to your unsaved file and opens the original file in the Main Window.
1. — This part of the File menu shows the four most recent files you opened with gedit. When you click on one of the files displayed, that specific file is opened.
Print —
This item brings up the Print Document dialog. The Print Document dialog is divided into two parts: the Select printer section and the Print Range section.The Select printer section lets you specify whether the file will be printed to a printer or printed to a pre-press [2] file format. The button for the Printer and File options are on the left side of the dialog. If you choose to print the file to a printer, you need to verify the printing command is correct, in the text window to the right of the Printer button. If you choose to print the file to a pre-press file, you need to enter the name of the file, in the text window to the right of the File button. The default file name is output.ps. You also can choose the type of pre-press file format from the pull down menu Name:.
The Print Range section lets you specify what parts of the file you wish to print. When the All button is pressed the whole file will be printed. If you want to specify certain pages, of the file, to be printed, you need to press the Pages button and enter the starting and ending page number. If you only want a certain selection of the file, which you have highlighted, to be printed, you need to press the Selection button.
There are three buttons at the bottom of the Print Document dialog. The Print button will print the document using the options in the Print Document dialog. The Preview button exits the Print Document dialog and brings up the Print Preview dialog. The Print Preview dialog lets you preview the document before you print it.
Print Preview —
The Print Preview dialog lets you preview the document before you print it.Close (Ctl-W) — This item closes the current document in gedit. If the item isn't saved, gedit will ask you if you want to save the file or discard the changes you made to the file.
Close All — This item closes all the documents in gedit. If any files aren't saved, gedit will ask you if you want to save the file or discard the changes you made to the file.
Exit (Ctl-Q) — This item exits gedit. If any files aren't saved, gedit will ask you if you want to save the file or discard the changes you made to it.
The menu contains:
Undo (Ctl-Z) — This item returns the document to its previous state before each command is executed or word is typed; it essentially takes back each command or typed word in the order they were performed. You can only take back a certain number of commands. The option is configured in the Preferences… dialog.
Redo (Ctl-R) — This item returns the document to its state before the Undo command was executed. It's the opposite of Undo.
Cut (Ctl-X) — This item puts the highlighted text, in the text window, in a buffer and then deletes the text that is highlighted from the file. The Paste command takes the text out of the buffer and inserts it in the file you are editing.
Copy (Ctl-C) — This item puts the highlighted text, in the text window, in a buffer, but does not delete the text that is highlighted. The Paste command takes the text out of the buffer and inserts it in the file you are editing.
Paste (Ctl-V) — This item takes any text in the buffer and inserts it into the document. The Cut and Copy commands are the only way to put text into the buffer.
Select All — This item highlights all the text in the current file you are editing.
Find (F6) —
This item brings up the Find dialog. You enter the string you want to search for in the Search For: text window. You can either start your search at the beginning of you file, pressing the beginning of the document button, or start it where the cursor is located in the Main Window, using the cursor position button. You can also specify if you want gedit to search for the string with the case how you entered it or have gedit ignore the case of the search string.Find Again (Shift-F6) — This item searches for the string you previously entered in the Find dialog.
Replace (F7) —
This item brings up the Replace dialog. This allows you to search for a string and replace it with another string. You enter the string you want to search for in the Search For: text window. You then enter the string, you want to replace the string you searched for, in the Replace with: text window. You can either start your search at the beginning of your file, pressing the beginning of the document button, or start it where the cursor is located in the Main Window, using the cursor position button. You can also specify if you want gedit to search for the string with the case how you entered it or have gedit ignore the case of the search string.
When you have the string you want to search for and the string you want to replace it with entered, click on the Find button, at the bottom of the Replace dialog, to find the correct string you are wanting to replace. Then, click the Replace button to replace the highlighted string with the string in the Replace with: text window. If, instead, you want to replace all occurances of the string in the Search for: text window, click the Replace All button.
Goto Line —
This item brings up the Goto Line dialog. You enter the line number you want to move the cursor, in the Main Window, to. Click the Okay button and your cursor is put at the line number you specified, starting at the beginning of the file. If the line number you specified exceeded the maximum number of lines in the file, your cursor will be placed on the last line of the file.The menu contains:
Add View — This item opens another window to the current file you are editing. If you edit the file in one view, the other views of the same file are updated and your changes are seen across all views of the same file.
Remove View — This item closes a window to the file you are editing.
![]() | You cannot remove a view, if there is only one view open. You need to have more than one view open to close a view. |
The menu contains:
Show Status Bar — 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 gedit is currently doing.
Preferences… — This item brings up the Preferences… dialog.
The menu contains all the files currently opened in gedit. If you click on one of the files, the Main Window shows the file you clicked on so you can edit it.
This menu contains:
Help — shows this manual.
About — shows basic information about gedit, such as the author's name, current developers, and the application version number.
The right click menu is accessed by clicking the right mouse button in the Main Window of gedit.
This menu contains:
Cut (Ctl-X) — This item puts the highlighted text, in the text window, in a buffer and then deletes the text that is highlighted from the file. The Paste command takes the text out of the buffer and inserts it in the file you are editing.
Copy (Ctl-C) — This item puts the highlighted text, in the text window, in a buffer, but does not delete the text that is highlighted. The Paste command takes the text out of the buffer and inserts it in the file you are editing.
Paste (Ctl-V) — This item takes any text in the buffer and inserts it into the document. The Cut and Copy commands are the only way to put text into the buffer.
Select All — This item highlights all the text in the current file you are editing.
Save (Ctl-S) — This item saves a file, if it is an existing file, or brings up the Save As… dialog to save the new file.
Close (Ctl-W) — This item closes the current document in gedit. If the item isn't saved, gedit will ask you if you want to save the file or discard the changes you made to the file.
Print — This item brings up the Print Document dialog. See the Print Document dialog to find out more about the Print command in gedit.
[1] | Dragging refers to the action in which you click on an object, with your mouse, and move the mouse pointer without releasing the previously clicked button. You can then release the mouse button and the object you were moving with the mouse will stay on the desktop where you released the mouse button. This action is generally called "drag and drop." |
[2] | A pre-press file is one that a professional printing company can take and produce brochures, flyers, letterheads, etc. The file formats which are referred to are PS (Postscript) and PDF (Portable Document Format). |
<<< Previous | Home | Next >>> |
Customization | Known Bugs and Limitations |