1. Program Editor: Navigate within a Script
About this task
When you move the insertion point with a keyboard shortcut, the Program Editor scrolls the new location of the insertion point into view if it is not already displayed.
You can also reposition the insertion point with the mouse and the Goto Line command.
- Move the insertion point with the mouse.
- Move the Insertion point to a specified line.
Note: The Program Editor allows you to place the insertion point anywhere within your script, including in "empty spaces." (Empty spaces are areas within the script that do not contain text, such as a tabs expanded space or the area beyond the last character on a line.)
the Insertion Point with the Mouse
Procedure
Results
The insertion point is positioned at the start of the line you specified. If that line was not already displayed, the Program Editor scrolls it into view.
Note:
- This approach is especially fast if the area of the screen to which you want to move the insertion point is not currently visible but you know the number of the target line.
- The insertion point cannot be moved so far below the end of a script as to scroll the script entirely off the display. When the last line of your script becomes the first line on your screen, the script will stop scrolling, and you will be unable to move the insertion point below the bottom of that screen.