| Key Click
| Action
|
|---|---|
| <control> p
| scroll line up
|
| <control> n
| scroll line down
|
| <control> b
| scroll screen up
|
| <control> f
| scroll screen down
|
| <control> <
| scroll to top of text pane
|
| <control> >
| scroll to bottom of text pane
|
Text pane commands can be activated either by mouse clicks or by keyboard commands. Table 1 presents the keyboard commands for text panes. These keyboard commands were added to save the user from having to waste time relocating his/her hands between the keyboard and the mouse [Card:83].
Figure 16: Four types of selectable objects in text panes
| Mouse Click
| Text Objects
| |||
|---|---|---|---|---|
| Frame Name
| Slot
| Value
| Annotation
| |
| Left
| update frame
| display slot in a random text pane
| display value in a random text pane
| display annotation in a random text pane
|
| Middle
|  
| display slot's address in a random text pane
| display value's address in a random text pane
| display annotation's address in a random text pane
|
| Right
| display frame's Menu
| display slot's Menu
| display value's Menu
| display annotation's Menu
|
| <Control> Left
| update frame
| display slot in current text pane
| display value in current text pane
| display annotation in current text pane
|
| <Control> Middle
|  
| display slot's address in a random text pane
| display value's address in a random text pane
| display annotation's address in a random text pane
|
| <Shift> Left
| stuff frame name in yank buffer
| stuff slot name in yank buffer
| stuff value in yank buffer
| stuff annotation in yank buffer
|
| <Shift> Middle
| stuff frame's address in yank buffer
| stuff slot's address in yank buffer
| stuff value's address in yank buffer
| stuff annotation's address in yank buffer
|
| <Shift> Right
|  
| display slot's address in a popup window
| display value's address in a popup window
| display annotation's address in a popup window
|
The mouse commands for text panes are divided into two types, clicks over text objects and white space clicks. As the mouse moves over text objects in a text pane, the text objects will highlight by drawing a box around the themselves. Figure 16 describes the four types of text objects: frame-names, slots, values, and annotations. A mouse click that occurs while the text object is highlighted results in a text object command. Table 2 presents these commands. The following are comments related to this figure:
random display follows a least recently used strategy, such that the selected text object will be displayed in the least recently used text pane
address refers to the KM address that corresponds to the highlighted text object.
updating a frame causes the frame to recompute it's contents and then redisplay itself.
the yank buffer will be discussed further in Section 2.2.1.
| White Space Mouse Click
| Action
|
|---|---|
| Left
| display frame's menu
|
| Right
| display text pane's menu
|
The other type of command is the white space mouse click. White space is any area of the text pane that the mouse can be positioned in that doesn't cause any text objects to highlight. Table 3 presents the white space mouse commands.