Outline view

This view displays an outline of a script or library currently open in the script editor, and lists the main structural elements.

The contents of the outline depend on the type of library or script. For example:

  • For a library, the Outline view displays the corresponding functions.
  • For a UI script, the outline consists of functions (if any) and script sections, such as:
    • Program sections.
    • Form sections.
    • Group sections.
    • Choice sections.
    • Field sections.
    • ZoomFrom sections.
    • Main Table sections.

This figure shows the outline of a UI script:

When you select a structural element in the Outline view, the cursor will move to the corresponding line in the script editor.

The Outline view is updated automatically when you edit a script or library.

Toolbar

The toolbar of the Outline view includes the following buttons:

Sort Outline Sorts the displayed folders and their contents alphabetically.
Hide return type and arguments Hides return types and arguments of functions.
Menu Contains these options:
  • Link With Editor: Toggles whether the contents of the Outline view are linked to the active editor. When this option is selected, changing the active editor will automatically update the contents of the Outline view to the resource being edited.
  • Hide return type and arguments: Hides return types and arguments of functions.
  • Hide local functions: Hides local functions, so only external functions are displayed.
  • Hide sections: Hides sections, so only functions are displayed.
  • Show external functions first (in sorted list): if you sort the displayed folders and their contents, external functions are displayed at the top of the list.

Shortcut menu

The Outline view contains a shortcut menu. This enables you to define method breakpoints.

This table shows the commands in the shortcut menu:

Toggle Method Breakpoint Adds or removes a method breakpoint for the selected function. When started in debug mode, the session suspends when the execution reaches a function for which a method breakpoint was set.

This command is only available for functions and not for other structural elements.

For more information on breakpoints, see Using breakpoints.

Icons

The following table explains the icons used to identify the structural elements.

For details on the 4GL components mentioned in the previous table, see the Infor ES Programmers Guide (Infor Customer Portal KB2924522).