Goto Source
Displays the source corresponding to the current diagnostic or query
item. The Goto Source key has different actions depending on whether LSE
is in review or query mode. To display a query item, you must be using SCA.
Review Mode:
LSE selects the diagnostic at the current position in the $REVIEW
buffer and a region for which source display is desired. This
becomes the current diagnostic. LSE highlights the current
diagnostic and the current region, and displays in a second window
(with the region highlighted) the file containing the current region.
When a diagnostic is selected in this way, the buffer containing the
current region becomes the current buffer.
LSE may display a suggested error correction and prompt for a yes
(Y) or no (N) response; LSE makes the correction if you respond with
a yes.
Query Mode:
LSE selects the query item occurrence at the current position in the
current query buffer. This becomes the current query item. LSE
highlights the current query item and displays the file containing
the corresponding source for the current query item in a second
window. The buffer containing the source that corresponds to the
current query item becomes the current buffer.
Review and Query Modes:
If the source file corresponding to the current diagnostic region or
current query item is not in a buffer, LSE creates an unmodifiable
buffer and reads the source file specified in the diagnostics file or
SCA data file into that buffer. If it cannot find that file, LSE
uses the list of directories specified by the SET SOURCE_DIRECTORY
command to find the file. LSE uses CMS to access a file if the
directory for the file to be accessed is the same as the translation
of CMS$LIB.
Command Equivalent:
GOTO SOURCE
Related Topics:
FIND
REVIEW
SET DIRECTORY
SET SOURCE_DIRECTORY
SHOW DIRECTORY
SHOW SOURCE_DIRECTORY