7.2 PWB Menus and Keys

Many PWB menu commands activate PWB functions or predefined macros. The menu commands that are attached to functions and macros are listed in the tables that follow. To assign a shortcut key for one of these menu commands, use the Key Assignments command on the Options menu and assign a key to the corresponding function or macro. For details on using the Key Assignments dialog box, see “Changing Key Assignments” on page 119.

Names beginning with an underscore (_pwb...) are macros. Names without an underscore are functions.

Table 7.1 File Menu and Keys

Menu Command Macro or Function Default Keys

New _pwbnewfile Unassigned
Close _pwbclosefile Unassigned
Next _pwbnextfile Unassigned
Save _pwbsavefile SHIFT+F2
Save All _pwbsaveall Unassigned
DOS Shell _pwbshell Unassigned
n file _pwbfilen Unassigned
Exit _pwbquit ALT+F4

Table 7.2 Edit Menu and Keys

Menu Command Macro or Function Default Keys

Undo _pwbundo Unassigned
Redo _pwbredo Unassigned
Repeat _pwbrepeat Unassigned
Cut Delete SHIFT+DEL, SHIFT+NUM-
Copy Copy CTRL+INS, SHIFT+NUM*
Paste Paste SHIFT+INS, SHIFT+NUM+
Delete _pwbclear DEL
Set Anchor Savecur Unassigned
Select To Anchor Selcur Unassigned
Stream Mode _pwbstreammode Unassigned
Box Mode _pwbboxmode Unassigned
Line Mode _pwblinemode Unassigned
Record On _pwbrecord Unassigned

Table 7.3 Search Menu and Keys

Menu Command Macro or Function Default Keys

Log _pwblogsearch Unassigned
Next Match (Logging on) _pwbnextlogmatch SHIFT+CTRL+F3
Next Match (Logging off) _pwbnextmatch Unassigned
Previous Match (Logging on) _pwbpreviouslogmatch SHIFT+CTRL+F4
Previous Match (Logging off) _pwbpreviousmatch Unassigned
Goto Match _pwbgotomatch Unassigned

Table 7.4 Project Menu and Keys

Menu Command Macro or Function Default Keys

Compile File _pwbcompile Unassigned
Build _pwbbuild Unassigned
Rebuild All _pwbrebuild Unassigned
Close _pwbcloseproject Unassigned
Next Error _pwbnextmsg SHIFT+F3
Previous Error _pwbprevmsg SHIFT+F4
Goto Error _pwbsetmsg Unassigned

Table 7.5 Run Menu and Keys

Menu Command Macro or Function Default Keys

command1 _pwbuser1 [[ALT+Fn]]
command2 _pwbuser2 [[ALT+Fn]]
command3 _pwbuser3 [[ALT+Fn]]
command4 _pwbuser4 [[ALT+Fn]]
command5 _pwbuser5 [[ALT+Fn]]
command6 _pwbuser6 [[ALT+Fn]]
command7 _pwbuser7 [[ALT+Fn]]
command8 _pwbuser8 [[ALT+Fn]]
command9 _pwbuser9 [[ALT+Fn]]

Table 7.6 Browse Menu and Keys

Menu Command Macro or Function Default Keys

Goto Definition Pwbrowsegotodef Unassigned
Goto Reference Pwbrowsegotoref Unassigned
View Relationship Pwbrowseviewrel Unassigned
List References Pwbrowselistref Unassigned
Call Tree (Fwd/Rev) Pwbrowsecalltree Unassigned
Function Hierarchy Pwbrowsefuhier Unassigned
Module Outline Pwbrowseoutline Unassigned
Which Reference Pwbrowsewhref Unassigned
Class Tree (Fwd/Rev) Pwbrowsecltree Unassigned
Class Hierarchy Pwbrowseclhier Unassigned
Next Pwbrowsenext CTRL+NUM+
Previous Pwbrowseprev CTRL+NUM-

Table 7.7 Window Menu and Keys

Menu Command Macro or Function Default Keys

New _pwbnewwindow Unassigned
Close _pwbclose CTRL+F4
Close All _pwbcloseall Unassigned
Move _pwbmove CTRL+F7
Size _pwbresize CTRL+F8
Restore _pwbrestore CTRL+F5
Minimize _pwbminimize CTRL+F9
Maximize _pwbmaximize CTRL+F10
Cascade _pwbcascade F5
Tile _pwbtile SHIFT+F5
Arrange _pwbarrange ALT+F5
n file _pwbwindown ALT+n

Table 7.8 Help Menu and Keys

Menu Command Macro or Function Default Keys

Index _pwbhelp_index Unassigned
Contents _pwbhelp_contents SHIFT+F1
Topic _pwbhelp_context F1
Help on Help _pwbhelp_general Unassigned
Next _pwbhelp_again Unassigned
Search Results _pwbhelp_searchres Unassigned