Search VisualAge for Java Information Go to Information Home Page Go to VisualAge for Java WWW Site

Edit Menu

The Edit menu has the following options:

Option Description
Revert to Saved Restores text to last-saved content.
Undo Undoes last text change.
Redo Redoes a change that has been undone.
Cut Cuts selected text to clipboard.
Copy Copies selected text to clipboard.
Paste Pastes contents of clipboard.
Select All Selects entire contents of pane.
Format Code Applies the formatting settings (set in the Options dialog) to the method or type source code currently shown in the Source pane.  Use this option to format imported code, or to apply changes in format settings to existing code.
Find/Replace Launches Find and Replace dialog to search for text within source.
Search Launches Search dialog for finding references to or declarations of program elements in the workspace.
Print Text Prints contents of source pane.
Save Saves changes to the Source pane.  If the changes include changing the name of the program element, then a new program element is created, and the changes are applied to it; none of the changes made to the source since the last save are applied to the old program element.
Save Replace Saves changes to the Source pane.  If the changes include changing the name of the program element, then the existing program element's name is changed and all the changes are applied to it (no new program element is created).  This may introduce errors if other program elements make reference to the old name.
Breakpoint Adds or removes a breakpoint from the line in the Source pane that contains the cursor.

The Edit menu in some windows has additional options.  Press F1 in the window you are using, and refer to the Menu section of the contextual help file to see notes about additional options.

tentergf.gif (577 bytes) Additional Edit Menu Option on IDLs Page in Project Browsers
The Edit menu has the following additional option on the IDLs Page in Project browsers:

Add Source Template Adds an IDL definition template to the point in the IDL object source code where your cursor is positioned.  Select one of the following template sub-options:
  • Module  Adds an IDL definition template for a module.
  • Interface  Adds an IDL definition template for an interface.
  • Method  Adds an IDL definition template for a method.

Copying, Cutting and Pasting Beans
In the BeanInfo page of the Class browser, you can copy, cut, and paste beans by using the corresponding options from the Edit menu.  When you copy or cut and paste two or more beans, they retain their positions relative to each other.  When you copy or cut and paste beans, the Visual Composition Editor preserves the bean names, but not the connections.

ngrelt.gif (466 bytes)
Setting IDE Options
Searching for Text in a Source Pane
Searching for Declarations of and References to a Program Element
Copying or Moving a Program Element