Editor Controls

This page describes the editor menus, controls, and status displays.

Editor Menus

File Menu

New--Clears the contents of the editor
Open--Opens a new file in the current editor
Reload--Reloads the current file from disk; any unsaved edits are lost
Save--Saves the current file
Save as--Saves the current file to a new file name
Save all--Saves the contents in all active editors
Close--Closes (quits) the current editor

Edit Menu

Many of these menu items have keyboard accelerators associated with them. The accelerators are listed to the right the items in the menu.

Undo--Reverses (one at a time) a series of editor actions (accept Save)
Redo--Reverses (one at a time) a series of Undo commands
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 file--Inserts a file at the cursor position. Activates a filechooser.
Find--Finds a string of text
Replace--Finds and then replaces a string of text
Repeat Last--Repeats the last Find or Replace operation

View Menu

New Window--Starts a new editor window
Use For Tools Display--Instructs the WorkShop to use the current editor for all tool displays. See Editor Reuse for more information.

Version Menu

This menu contains commands that enable you to check files in and out of the version control system. See Version Control for more information about version control commands.

Editor Tool Bar

Open a file--Equivalent to choosing File=>Open
Save the current file--Equivalent to choosing File=>Save

The remaining controls on the editor tool bar are available when using other WorkShop tools. For details see:

Editor Footer

The footer in the editor contains a number of different status displays. These displays enable you to: See Version Control for more information about version control commands.

Editor Reuse

Many of the WorkShop tools use the source editor to display source files. In addition, you can activate multiple editors for your own editing needs. The WorkShop source editor provides you with as much control as possible over allocation of your screen real estate.

Choose View=>Use For Tools Display to control how WorkShop tools (debugger, Source Browser, Build Manager) use the source editor to display files.

When View=>Use For Tools Display is selected (reuse this editor), the right-most icon on the editor footer is a bullseye over a page:

When View=>Use For Tools Display is not selected (do not reuse this editor), the right-most icon on the footer is multiple pages:

Here are some things you should know about how the editor reuse feature works:

Status Information

Line and Column Status

The line and column text fields display the current location of the cursor in the file. You can also use these fields to change the location of the cursor--enter the line and/or the column number to which you want the cursor to move and press Return.

Change Status

The change status area displays the following information about the contents of the editor:

Read/Write Status

The read/write status area indicates whether you can save your editing changes.

Version Control Status

The version control status area indicates whether the file is: See Version Control for more information about version control commands.