7 crbasic editor edit menu, 1 other options, 8 crbasic editor view menu – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 251: 1 editor preferences, Crbasic editor edit menu -33, Other options -33, Crbasic editor view menu -33, Editor preferences -33

Advertising
background image

Section 7. Creating and Editing Datalogger Programs

7.3.3.7 CRBasic Editor Edit Menu

This menu item allows you to edit and manipulate the text currently being

displayed in the Editor. Standard text editing functions such as

Cut, Copy,

Paste, Delete, Select All, Undo and Redo are found in this menu.

7.3.3.7.1 Other Options

Create Compressed File

Creates a new file with a _str extension. All user

comments and line spacing in the program are removed from the file.

Removing comments and spaces can significantly reduce the file size in larger

programs.

Rebuild Indentation

Reworks the indentation of loops, If/Then/Else

statements and other logic nesting, and removes blank lines based on the

Vertical Spacing rules (

Options | Editor Preferences, Vertical Spacing tab).

Save As CRB

Saves highlighted text to a file with a *.CRB extension. This

file is referred to as a library file. The file can then be reused by inserting it

into another CRBasic program.

Insert File

Inserts a library file (*.CRB) into the current program at the

location of the cursor.

7.3.3.8 CRBasic Editor View Menu

This menu item allows you to specify the files used in the CRBasic Editor and

customize its look and syntax highlighting.

7.3.3.8.1 Editor Preferences

This option sets up the appearance options for the text instructions and the

behavior of pop-up hints.

The

Editor tab allows the user to toggle on or off the pop-up hints for

parameters in instructions, set the amount of time the cursor must hover over

the instruction before the pop-up hint appears, and the background color of the

pop-up hint. This is also used to choose whether CRBasic automatic

instruction indenting indents using tabs or spaces, and set the number of spaces

if that option is chosen. Other options relating to the use of the tab key, file

compression, capitalization and name checking are also available. Press the

Help button for more information.

7-33

Advertising