C and C++ SoftBench User's Guide
Using SoftBench Editors
Editing with SoftBench vi Editor
Chapter 4128
behaviors:
To set the autowrite option, type ":set autowrite" from within
SoftBench vi Editor or add it to your $HOME/.exrc file.
3. SoftBench vi Editor loads the new file and you can modify the file's
contents as desired.
4. If you want to "switch" back to the previous file, you can view the
Editor Index to see a list of files that you have edited. Choose "File:
Editor Index" to display this index. Double–click the mouse on the
name of the file which you want to edit, and SoftBench vi Editor loads
it into its editing area. (You can also use vi's ":edit #" command to
edit the previously edited file.)
Reusing the Edit Window
SoftBench vi Editor's "■ Reuse Window" toggle button allows you to
control whether or not SoftBench vi Editor generates a new window for
an edit request:
Table 4-1
If the vi autowrite
option
SoftBench vi Editor's behavior
is set automatically saves the file before loading the
new file.
is not set you must manually save the file before loading
the new file.
Table 4-2
Status of "■ Reuse Window"
Toggle Button
SoftBench vi Editor Behavior
Set on at least one SoftBench vi
Editor window
SoftBench vi Editor reuses a
window whose toggle button is
selected for subsequent edit
requests
Not set on any window SoftBench vi Editor generates a
new window.