Setting Editor Preferences

In the CRBasic Editor, click the View menu and select Editor Preferences to view and personalize CRBasic Editor settings, and to set spacing and syntax highlighting options

Editor Tab

Click the View menu, select Editor Preferences, and click the Editor tab to enable or disable CRBasic Editor features.

Parameter Hint Box

Parameter hints provide information about a parameter when you hover over a parameter for a period of time. Clear the Show Parameter Hints check box to turn the hints off. Click the increase/decrease buttons next to the Hint Delay box to set the amount of time to hover over a parameter before the hint is displayed (the default is 1000ms). Click Select Color to change the background color used for the hint.

Auto Indenting

By default, the CRBasic Editor automatically indents instructions after Scan or SubScan instructions, and after conditional statements. This helps to identify the flow of the program. You can choose to indent using a defined number of Spaces or using Tabs by selecting the desired option button. If the Spaces option is chosen, indicate the number of spaces to use for the indention in the Spaces field. If the Tabs option is chosen, the width of the tab is determined by Tab Width field under the Tab Key Mode settings.

Tab Key Mode

These options determine what characters are used when the tab key is pressed. Select Use Tab to insert a tab character into the code when the Tab key is pressed. Select Use Spaces to insert a fixed number of spaces, rather than a tab, when the Tab key is pressed. Type a number in the Tab Width box to indicate the number of spaces to use for the indention.

Edit Features

Vertical Spacing Tab

At any time during editing a program, you can choose Edit and click Rebuild Indentation (short cut is CTRL + i) to have the CRBasic Editor automatically correct spacing and indenting throughout the program. The Vertical Spacing tab is used to determine which instructions will have spacing before them or after them, and how the CRBasic Editor should process blank lines.

Syntax Highlighting

You can customize the appearance of the text elements in the Editor from the Syntax Highlighting tab. A different font style and color can be defined for Normal text, keywords, comments, operators, numbers, parentheses, strings, and bookmarks, making the program easier to read and edit. Click the View menu, select Editor Preferences, and click the Syntax Highlighting tab to customize the appearance of the text elements in the Editor. Define font style and color for numerous program text types to make the program easier to read and edit. To disable syntax highlighting, clear the Enable Syntax Highlighting check box.