Scripting Ribbon Tab

The Scripting ribbon tab only displays when required; for example, when editing a naming script.

The following tables describe the options on the Scripting ribbon tab.

Build Group

Option

Description

Build Script icon Build

Compile and validate the script and output errors to the Custom Code Output and Custom Code Errors tabs in the bottom control pane.

On the View ribbon tab, click Custom Code Output or Custom Code Errors to display the bottom control pane.

Test Script icon Test

Test the script.

Save Script icon Save

Save the script to the MineMarket local installation directory. The file is saved using the C# naming conventions; for example, the file name is saved as the class name.

Edit Group

Option

Description

Show White Space icon Show White Space

Shows where white space is utilised by displaying dots as visual references to white space within the code window.

Decrease Indentation icon Decrease Indentation

Decrease the code indentation at the cursor location point.

Increase Indentation icon Increase Indentation

Increase the code indentation at the cursor location point.

Undo icon Undo

Undo the last edit.

Redo icon Redo

Redo the last edit.

Comment icon Comment

Insert the "//" programming comment notation in the selected lines of code within the Script Editor.

Uncomment icon Uncomment

Remove the "//" programming comment notation from the selected lines of code within the Script Editor.

Bookmarks Group

Option

Description

Toggle Bookmark icon Toggle Bookmark

Toggle between adding and removing bookmark options. Create a bookmark within the margin of the code window at the cursor location.

Next Bookmark icon Next Bookmark

Move to the next bookmark within the code window.

Previous Bookmark icon Previous Bookmark

Move to the previous bookmark within the code window.

Clear Bookmarks icon Clear Bookmarks

Clear all bookmarks from the code window.