Rational Software Corp.

TOC PREV NEXT INDEX



Rational Rose Script Editor Shortcuts


Contents

This chapter is organized as follows:

This appendix identifies the shortcuts that can be used with the Rational Script Editor.


General Shortcuts

Table 7 General Shortcuts 
Key Name(s)
Description
F1
Provides context-sensitive Help for selected menu commands and variables in the watch pane, for BasicScript terms in the edit pane that have been selected or that contain the insertion point, and for displayed dialog boxes.
CTRL+F
Displays the Find dialog box, which allows you to specify text for which you want to search.
F3
Searches for the next occurrence of previously specified text. If you have not previously specified text for which you want to search, displays the Find dialog box.
ESC
Deactivates the Help pointer if it is active. Otherwise, compiles your script and returns you to the host application.


Navigating Shortcuts

Table 8 Navigating Shortcuts 
Key Name(s)
Description
UP ARROW
Moves the insertion point up one line.
DOWN ARROW
Moves the insertion point down one line.
LEFT ARROW
Moves the insertion point left by one character position.
RIGHT ARROW
Moves the insertion point right by one character position.
PAGE UP
Moves the insertion point up by one window.
PAGE DOWN
Moves the insertion point down by one window.
CTRL+PAGE UP
Scrolls the insertion point left by one window.
CTRL+PAGE DOWN
Scrolls the insertion point right by one window.
CTRL+LEFT ARROW
Moves the insertion point to the start of the next word to the left.
CTRL + RIGHT ARROW
Moves the insertion point to the start of the next word to the right.
HOME
Places the insertion point before the first character in the line.
END
Places the insertion point after the last character in the line.
CTRL+HOME
Places the insertion point before the first character in the script.
CTRL+END
Places the insertion point after the last character in the script.


Editing Shortcuts

Table 9 Editing Shortcuts 
Key Name(s)
Description
DELETE
Removes the selected text or removes the character following the insertion point without placing it on the Clipboard.
BACKSPACE
Removes the selected text or removes the character preceding the insertion point without placing it on the Clipboard.
CTRL+Y
Deletes the entire line containing the insertion point without placing it on the Clipboard.
TAB
Inserts a tab character.
ENTER
Inserts a new line, breaking the current line.
CTRL+C
Copies the selected text, without removing it from the script, and places it on the Clipboard.
CTRL+X
Removes the selected text from the script and places it on the Clipboard.
CTRL+V
Inserts the contents of the Clipboard at the location of the insertion point.
SHIFT + any navigating shortcut
Selects the text between the initial location of the insertion point and the point to which the keyboard shortcut would normally move the insertion point. (For example, pressing SHIFT + CTRL + LEFT ARROW selects the word to the left of the insertion point; pressing SHIFT+CTRL+HOME selects all the text from the location of the insertion point to the start of your script.)
CTRL+Z
Reverses the effect of the preceding editing change(s).


Debugging Shortcuts

Table 10 Debugging Shortcuts 
Key Name(s)
Description
SHIFT+F9
Displays the Add Watch dialog box, in which you can specify the name of a BasicScript variable. The Script Editor then displays the value of that variable, if any, in the watch pane of its application window.
ENTER or F2
Displays the Modify Variable dialog box for the selected watch variable, which enables you to modify the value of that variable.
F6
If the watch pane is open, switches the insertion point between the watch pane and the edit pane.
CTRL+BREAK
Suspends execution of an executing script and places the instruction pointer on the next line to be executed.
F9
Sets or removes a breakpoint on the line containing the insertion point.
F10
Activates the StepOver command, which executes the next line of a BasicScript script and then suspends execution of the script. If the script calls another BasicScript procedure, BasicScript will run the called procedure in its entirety.
F11
Activates the StepInto command, which executes the next line of a BasicScript script and then suspends execution of the script. If the script calls another BasicScript procedure, execution will continue into each line of the called procedure.


File Menu Shortcuts

Table 11 File Menu Shortcuts 
Key Name(s)
Description
CTRL+W
Compiles your script and returns you to the host application.
CTRL+S
Saves the currently open script.


Edit Menu Shortcuts

Table 12 Edit Menu Shortcuts 
Key Name(s)
Description
CTRL+Z
Reverses the effect of the preceding editing change(s).
CTRL+X
Removes the selected text from the script and places it on the Clipboard.
CTRL+C
Copies the selected text, without removing it from the script, and places it on the Clipboard.
CTRL+V
Inserts the contents of the Clipboard at the current position of the insertion point.
CTRL+A
Selects all the text in the edit window.
CTRL+F
Displays the Find dialog box, which allows you to specify text for which you want to search. Remembers and allows you to choose from a list of previous search strings.
CTRL+H
Displays the Replace dialog box, which allows you to substitute replacement text for instances of specified text. Remembers and allows you to choose from a list of previous search and replace strings.
CTRL+G
Presents the Goto Line dialog box, which allows you to move the insertion point to the start of a specified line number in your script.


Debugger Menu Shortcuts

Table 13 Debugger Menu Shortcuts 
Key Name(s)
Description
F5
Runs the current script.
CTRL+SHIFT+F5
Restarts the current script beginning with the line at which it was stopped using the Break command.
SHIFT+F5
Stops script execution.
F11
Steps through the script code line by line, tracing into called procedures.
F10
Steps through the script code line by line without tracing into called procedures.
F7
Compiles the current script without executing it.
SHIFT+F9
Displays the Add Watch dialog box, in which you can specify the name of a BasicScript variable. That variable, together with its value (if any), is then displayed in the watch pane of the Script Editor's application window.
DELETE
Deletes a selected variable from the watch variable list.
ENTER
Displays the Modify Variable dialog box for a selected variable, which enables you to modify the value of that variable.
F9
Toggles a breakpoint on the line containing the insertion point.


Rational Software Corporation  http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX