Please enable JavaScript to view this site.

PrimalScript - Help Manual

Navigation: PrimalScript Editor

Navigation Options

Scroll Prev Top Next More

PrimalScript provides options to help you move quickly between different locations in your scripts.

Navigate - Menu Options

The Home ribbon > Navigate section contains navigation options:

Go to Line

Navigates to the specified line.

1.Click Home > Navigate section > Go to line (Ctrl+G).

2.Enter the line number, and click OK.

Last Edit

Navigates to the position of the last edit operation.

oClick Home > Navigate section > Last edit  (Ctrl+E).

 

Bookmarks

Bookmarks make it easier for you to return to specific sections of your script. Bookmarks appear as colored blocks in the left margin of the editing window. They are particularly useful when you are working in several parts of a script at once.

 Every bookmark is a toggle; click to create it, click again to delete it.

To find a bookmarked section

Scroll until you see the bookmark, or use the keyboard (F2) to jump directly to the next bookmark:

To toggle a bookmark on or off

1.Place the cursor on the line where you want the bookmark.

2.Click Home > in the Navigate section, click Bookmark.

-OR-

Right-click in the margin (if you left-click, you create a breakpoint (red circle)).

-OR-

Press Ctrl+F2.  

To bookmark a search term

Clicking Mark All will place a search-style (temporary) bookmark at each location where your search string occurs; you can then use F3 and Shift+F3 to move back and forth between bookmarks.

To jump to the next or previous bookmark

Click Home > in the Navigate section, click Next Bookmark or Previous Bookmark.

-OR-

Press F2 (next) or Shift+F2 (previous).

To clear (turn off) all bookmarks

Click Home > in the Navigate section, click the Clear all bookmarks icon:

 

Global Bookmarks

Global bookmarks, also known as named bookmarks, are designed to help you navigate through multiple files, but can also be useful in a single file.

 Unlike standard bookmarks, you can't see global bookmarks in the code editor. They are only available in the Global Bookmarks dialog box.

To create a global bookmark

1.Position the cursor on the line where you want to create the global bookmark.

2.Click Home > in the Navigate section, click the Global Bookmark icon (Alt+F2):

3.Enter a name for the bookmark and click Add:

To jump to a global bookmark

1.Click Home > in the Navigate section, click the Global Bookmark icon (Alt+F2):

2.Click the bookmark name and then click Go To:

 Global bookmarks are even powerful when used with multiple files. When you define bookmarks in more than one file, PrimalScript saves the path and file name along with the line number. When you click Go To, PrimalScript opens the file with the cursor on the bookmarked line:

 

See also:

Editing Aids

Clipboard Integration

Getting Help

 

SAPIEN Technologies, Inc. provides administrative tools to support all of your Windows scripting needs.