Setting Program Preferences
174
NetLinx Studio (v2.4 or higher)
Preferences Dialog - Editor Tab
Use the options on the Editor Options tab of the Preferences dialog to set default preferences for the
Source Code Editor windows. The items in this tab include:
Syntax Highlighting - These options allow you to customize syntax highlighting within the Source
Code Editor windows. The term Syntax Highlighting refers to the fact that various terms in the code
file (including Reserved Identifiers, Constants, Devices, Types and Variables) are automatically
highlighted (displayed in a specific foreground and/or background) in the Source Code Editor
windows.
Document Type
- Select the type of document that you want to set highlighting options
for (Axcess/NetLinx Source code files or Text Files).
Styles
- This is a list of all the items that can be customized in the Source Code Editor
Windows. The items that appear in this list depend on the Document Type selection:
Select an item from this list to customize.
Text Files
Axcess/NetLinx Source (code files)
Default Text
Space
Selected Text
Comment
Caret
Reserved Word
Window Background String
Margin
Operator
Number
Float (Floating Point Number)
Device
Constant
Variable
Type
Default Text
Selected Text
Caret
Function Names
Stack/Param Variables
Code-Fold Margin
Code-Fold Plus
Code-Fold Minus
Window Background
Margin
Since NetLinx code may be divided into sections (DEFINE_CONSTANT,
DEFINE_DEVICE, DEFINE_TYPE, and DEFINE_VARIABLE), anytime a word is
encountered that falls within one of these sections it is parsed, remembered and then
the syntax is highlighted according to the section in which it occurred. Therefore, if a
DEFINE_DEVICE section contains a line that reads "dvTP = 128" the word dvTP will
be remembered as a device and syntax highlighted. Additionally, if the editor
recognizes that you have partially typed the name of the above section variable (for
example "dv"), it will auto-suggest "dvTP". The program will do this all of the items it
has encountered in any of the DEFINE sections.
Содержание NETLINX STUDIO V2.4
Страница 1: ...instruction manual Software NetLinx Studio v2 4 or higher ...
Страница 16: ...NetLinx Studio v2 4 or higher 4 NetLinx Studio v2 4 or higher ...
Страница 32: ...The NetLinx Studio v2 4 Work Area 20 NetLinx Studio v2 4 or higher ...
Страница 44: ...Working With Workspace Files 32 NetLinx Studio v2 4 or higher ...
Страница 88: ...Working With Systems and System Files 76 NetLinx Studio v2 4 or higher ...
Страница 118: ...Programming 106 NetLinx Studio v2 4 or higher ...
Страница 152: ...Working With Online Devices 140 NetLinx Studio v2 4 or higher ...
Страница 199: ...Index 187 NetLinx Studio v2 4 or higher ...