## Editing
Program

The Edit Program screen lets you perform simple edits to your part program. These include rearranging commands, copying or pasting existing commands, or deleting commands.

To access this screen, select the Edit Program soft key from the main screen.

###

Available Navigation Bar Soft Keys on this Screen:

| Backward / Forward Back / Forward to previous / next group of soft keys. |  | Cursor Mode Toggle There are two cursor modes in the Edit window. The Cursor Mode Toggle soft key switches between the two. See additional information below.
| Clear Select This soft key lets you deselect all but the first program entities that were selected with the multi-select mode. |  | Move Up This soft key lets you to move the cursor up one item in the Edit window program tree. If multi-select mode is active, then each entity will be selected and added to the group.
| Move Down This soft key lets you to move the cursor down one item in the Edit window program tree. If multi-select mode is active, then each entity will be selected and added to the group. |  | Edit To edit a feature, select it from the tree view and press this soft key. The appropriate screen for the selected command you are editing will open in edit mode. See additional information below.
| Cut This will remove the highlighted (selected) feature from the program tree window. The feature can then be pasted elsewhere. |  | Copy This makes a copy of the feature that is highlighted (selected) in the program tree window.
| Paste This will insert the cut or copied feature into the program. See additional information below. |  | Delete This permanently removes the highlighted (selected) feature from the program tree.
| Undo (on second page) This soft key will undo the previous changes or steps performed while editing the NC Gage program contained in the Edit window tree view. You can undo every step until the last time the Edit window was opened. |  | Go To Beginning (on second page) This advances the high light to the beginning of the program. This soft key will redo items that were recently undone. NC Gage will allow the user to redo every step until the last time the Edit window was opened.
| Return This soft key returns the view up one level to the previous screen. |  |

Information About Cursor Modes:

The two modes are:

- Single Select Mode: In this mode, when you move the cursor up and down in the Edit window program tree, it selects the current entity to be edited. This is the default mode.

- Multi-Select Mode: In this mode, when you move the cursor up and down in the Edit window program tree, it automatically selects each entity, adding it to the group of selected entities.

Either mode can be used to cut, copy, or paste program entities.

Information About Editing a Feature:

When in the Edit screen or edit mode:

- In order to exit the screen or exit the screen without saving changes, press the return soft key.

- In order to exit the screen and save changes, press the Confirm Save Change to Command soft key.

You can tell you are in edit mode if this icon appears in the bottom right section of your screen:

Otherwise, you will see this icon there, indicating you are in normal insert mode:

Information About Pasting a Feature:

In order to paste a feature, move the highlight to the feature above where the pasted feature will be inserted. A small red arrow appears in the program tree view when you press the Copy or Cut soft keys. This indicates where the program will paste the command or commands.

- If the feature to be pasted was originally cut from the program, then it will be inserted into the program identically to how it was cut. In essence, it will simply be moved in the program order.

- If the feature to be pasted was originally copied from the program, then it will be inserted into the program and the feature name will increment each time it is pasted. So, if you copied and pasted a feature named "Line1", the pasted feature would be named "Line2" and then "Line3" and so forth.

Program Comment

In the Program Comment box you can type a comment about the program. This comment will appear in the File Manager screen in the Comment column.