User`s manual

246 digi.com Graphical User Interface
The Ctrl key works in conjunction with the arrow keys:
The Ctrl key also works in conjunction with “[” for delimiter matching. Place the cursor before the delim-
iter you are attempting to match and press “Ctrl+[”. The cursor will move to just before the matching
delimiter.
Note that delimiters in comments are also matched. For example, in the following code, <Ctrl+[> counts
commented-out braces in the matching, giving a false indication that the main function has balanced curly
braces when in fact it does not.
main()
{
{
//}
/*
}
*/
14.2 Menus
Dynamic C’s main menu has eight command menus, as well as the standard Windows system menus.
An available command can be executed from a
menu by either clicking the menu and then
clicking the command, or by pressing the
Alt
key to activate the menu bar, using the left and
right arrow keys to select a menu, and then using the up or down arrow keys to select a command before
pressing the Enter key.
14.2.1 Using Keyboard Shortcuts
For some of us it is easier to type keyboard
shortcuts than to use a mouse. A menu can be
activated by pressing the Alt key while press-
ing the underlined letter of the menu name. This
is the de facto standard, as it is used in numerous commercial software products. Pressing the Alt key
allows you to see which character in the menu name is underlined, as shown in this second screenshot of
Dynamic C’s main menu. All the keyboard shortcuts on the main menu use the first letter of the menu
name in the shortcut. Some keyboard shortcuts have this obvious connection while others do not. See the
Editor Tab screenshot in Section 14.2.7 for some examples of not so obvious keyboard shortcuts. A key-
board shortcut that is not menu specific is the Esc key, which will make any visible menu disappear.
Ctrl+Left
Move cursor to previous word.
Ctrl+Right
Move cursor to next word.
Ctrl+Up
Move editor window up, text moves down one line. Cursor is
not moved.
Ctrl+Down
Move editor window down, text moves up one line. Cursor is
not moved.