PrimalScript 2012: What’s new? (Part 2)

Last time we introduced you to the PrimalScript 2012 Ribbon interface. Today we take a closer look at the Home tab, which is the default tab visible and, if we got it right, on which you will spend most of your time.

The Home tab has 8 categories. Four of those we will examine a bit closer today.

  • Clipboard

    image

    This category is a standard in virtually all Ribbon interface applications. Cut, Copy, Paste and Erase shouldn’t need any explanation. The little arrow on the Copy topic gives you access to the “Append” topic which adds the current selection to the current clipboard content rather than replacing it.

  • Edit

    image 

    If you have used PrimalScript before and looked at the various toolbars and the edit menu most of these icons will be familiar to you.
    The text next to the buttons should explain what they do for the most part. The topics Region, Convert and Format are actually fold down menus.

    imageimageimage

    The individual topics are pretty self-explanatory so we won’t bore you with the details here. In case you are not clear about a specific topic, feel free to comment or hop over to out support forum and post a question there.
    The three tool buttons on the lower right are for PrimalSense functions: Show Completion list, Parameter Info and Complete word.

  • Find

    image 

    Everything you need to find or replace in your current script or in larger number of files. Find is a button with a twist. Click it and will bring up a find dialog. Just like you are used to seeing. Click the down arrow right of it and you get a menu:

    image

    Since the find previous and next functions, as well as the incremental find are usually accessed using their respective hot keys (F3, Shift+F3 and Ctrl+I) we thought it’s best to save the space and keep them in a sub menu.
    The combo box is pretty simple, just as in previous versions, type in it and press enter and PrimalScript will search for the expression.

  • Navigate

    image

    Here we have some new things, so lets get the familiar stuff out of the way first. Go to line, Last edit, Bookmark, Next and Previous bookmark and well as Clear all bookmarks and Global bookmarks all work the same way as in previous versions.
    The Previous and Next buttons once again have a double purpose. Clicking them will carry you to the previous or next function. The hot keys for this are Ctrl+PgUp and Ctrl+PgDn. If you click on the menu arrow you see this:

    imageimage 

    Previous and Next Change will carry you through blocks of changed lines up or down as indicated by the changed line markers. This makes it really easy to navigate between various locations in your code where you make changes. The hot keys for this are Ctrl+Shift+Up and Ctrl+Shift+Down.
    Previous and Next Occurrence is about the current word you have the cursor on. Use these or the corresponding keyboard shortcuts (Ctrl+Shift+I and Ctrl+Alt+I) to navigate between word occurrences in your code.

 

Stay tuned for the final four categories in the Home tab in our next post…