# Editor Menu and Toolbar Commands

This page describes:

- Menu commands
- Toolbar commands
- Line/Column indicator

## Source Editor Menu Commands

### File Menu

Many of the items in the main File menu are editor commands.

New | Empties the contents of the source editor. You can enter text and save it as a new file.
Open | Opens an existing file in the source editor.
New Editor Window | Starts a new source editor window with no file loaded.
Clone Editor Window | Opens a new editor window loaded with the same file as the editor window from which it was cloned. This process can be repeated multiple times. See Basic Editing for more information.
Reload Source File | Reloads the file currently loaded in the source editor.
Save | Saves the file currently loaded in the source editor using the file's current name.
Save As | Saves the file currently loaded in the source editor with a name you provide using a file chooser dialog box.
Save All Source Files | Saves all files currently loaded in active source editor windows.
File Picklist | JDe maintains a list of files that you load into the source editor. Whenever you load a file into the editor, its name is added to the top of the list. Choose a file from this list to load it in the source editor. This list contains the 20 most recently edited files in the order they were loaded into the editor. This list is maintained across JDe sessions. If a file is deleted from the file system, it is deleted from the list.

### Edit Menu

Many of these menu items have shortcut keys listed to the right of the associated menu items.

Undo | Reverses (one at a time) a series of editor actions (except Save). The list of editor actions is maintained even when the files is saved. Therefore, you can undo changes you made prior to saving the file.
Redo | Reverses (one at a time) a series of Undo commands. The list of editor actions is maintained even when the files is saved. Therefore, you can redo changes you made prior to saving the file.
Cut | Cuts the current selection to the clipboard
Copy | Copies the current selection to the clipboard
Paste | Pastes the contents of the clipboard at the insert point
Delete Line | Deletes the line the cursor is on
Insert A File | Inserts a file at the cursor position. Opens a file chooser.
Find | Finds a string of text
Replace | Finds and then replaces a string of text
Find Forward | Finds the next forward match of the current search text
Find Backward | Finds the next backward match of the current search text
Go To Line | Takes you to a specified line in the file

## Toolbar Buttons

The following buttons in the Edit/Debug toolbar are editor commands:

| Opens a file (equivalent to choosing File -> Open)
| Saves the current file (equivalent to choosing File -> Save)

## Line/Column Indicator

The cursor position (line number:column number) is displayed in lower-right portion of the window footer.

See also:

  Basic Editing
  Syntax Highlighting
  Setting Tabs and Indents
  Changing Editor Fonts