Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

View Pull-down Menu Selections

Selections in the View pull-down menu group let you choose how your file is displayed in the Editor. Selections actually displayed in the View pull-down menu can vary depending on the application with which you are using the Editor, or the type of file being edited.

The standard set of View pull-down menu selections are:

Filter... Select this menu choice to display in the Editor window only those lines containing a specified character string. The Filter window opens, in which you can specify the character string and filtering options.
Filter selection Select this menu choice to display in the Editor window only those lines containing character strings that match the selected text. If no text is selected, the Editor does nothing.
Functions In C, C++, or Java files, displays all function headers.
Methods In Java files, displays all method definition headers.
Outline logic Displays a logic outline of the code in C, C++, and Java files. This consists of all function definitions headers, lines that contain braces, and switch statements and their case and default clauses.
Error Displays lines containing lexical errors as detected by the Editor programming language parser.
Show all Select this menu choice to display all lines of the file in the Editor window.
Default to ring If a check mark appears beside this choice, each new document or document view opens into the current ring.

If no check mark is visible, each new view opens into a new ring in a new Editor window.

Split -> Select this menu choice to work with multiple files in a split Editor window.

The Editor window can be split to hold multiple editing windows, arranged either vertically or horizontally. Editing windows inside a split Editor window can be resized by selecting and dragging the common border between an adjacent pair of editing windows.

Selecting this choice raises a cascaded menu with the following choices:

Off ring This choice is available only if you have at least two views open in the current ring.

Selecting this choice moves the current view out of its ring and into a new ring. The current views in both the older and new rings appear in the same Editor window, which splits to show both views at once, each in their own editing windows.

View Select this choice to create a new view of the current document. The Editor window splits to show both views at once, each in their own editing window.
Horizontal If a check box appears beside this choice, view splitting operations will cause the Editor window to split horizontally. The borders between editing windows run horizontally across the width of the Editor window.

Changes to your split orientation are reflected immediately in the Editor window if you are already in split window editing mode. If you are not, the new orientation will apply each time you later split an Editor window.

Vertical If a check box appears beside this choice, view splitting operations will cause the Editor window to split vertically. The borders between editing windows run vertically within the Editor window.

Changes to your split orientation are reflected immediately in the Editor window if you are already in split window editing mode. If you are not, the new orientation will apply each time you later split an Editor window.

Line numbers Select this menu choice if you want line numbers displayed in the prefix area of the Editor window.

In order for line numbers to be displayed, you must select to maintain them at the time that you create a new file or open an existing file that uses them.

Wrap Select this menu choice if you want to view long lines of text without having to scroll horizontally.

Note:

  1. The ruler will not wrap when wrapping is turned on.
  2. Selecting this menu choice will cause the formatter and wrap parameters to be set on, and the formwidth parameter to be set to 0, regardless of previous state.
  3. Deselecting this menu choice will cause the formatter and wrap parameters to be set off, regardless of previous state. The formwidth parameter is not changed, and remains with a value of 0.
Navigator The Navigator window shows a graphical representation of the program components in the current file or in a specified group of files.

Selecting this choice opens a cascaded menu with the following choices:

Open Opens a Navigator window showing program components only for the current file.
Open group Opens a Navigator window showing all program components in a group of files. The Navigator - Open group window appears, in which you specify the files to include in a group of files.

Note: This choice appears in the pull-down menu only if the navig Editor macro has been run.



Manage Multiple File Views with the Ring Manager