Preferences Dialog - Editor - Highlighting and Fonts Tab
Use the options on the Editor - Highlighting and Fonts tab of the Preferences dialog to set default syntax highlighting preferences within the Editor windows (FIG. 311).
FIG. 311 Preferences dialog - Editor - Highlighting and Fonts tab
Editor - Highlighting and Fonts Options | |||
---|---|---|---|
Highlighting | |||
Document Type | Select the type of document that you want to set highlighting options for (/NetLinx Source code files or Text Files). | ||
Styles | This is a list of all the items that can be customized in the Editor Windows. The items that appear in this list depend on the Document Type selection: | ||
Text Files | NetLinx Source (code files) | ||
Default Text | Space | Default Text | |
Selected Text | Comment | Selected Text | |
Caret | Reserved Word | Caret | |
Window Background | String | Function Names |
Editor - Highlighting and Fonts Options (Cont.) | |||
---|---|---|---|
Styles (Cont.) | Margin | Operator | Stack/Param Variables |
Number | Code-Fold Margin | ||
Float (Floating Point Number) | Code-Fold Plus | ||
Device | Code-Fold Minus | ||
Constant | Window Background | ||
Variable | Margin | ||
Type | |||
Select an item from this list to customize. | |||
Background Color | This is the background color setting for the selected Item. Click the down arrow to select a different color from a palette. | ||
Apply to All | Use this option to apply the selected background color to all items in the Selections list. | ||
Text Color | This is the text color setting for the selected Item. Click the down arrow to select a different color from a palette. | ||
Font | |||
Font | The Selection button opens the Font dialog, where you can select the font, font style (regular, italic, bold) and font size to be displayed in the Editor window. |