Slick V3.3 Computer Accessories User Manual


 
Configuration Variables
SlickEdit® Core has many behaviors that are controlled through properties not exposed in the options dia-
logs. They are set through global configuration macro variables in Slick-C®, using the set_var command.
The most commonly used of these variables are listed in the table below.
Viewing Configuration Variables
To view the complete list of configuration variables, bring up the SlickEdit® Core command line and type
set_var def- (note the hyphen at the end). The completion list will provide the full list of available vari-
ables. Use the Help system to look up information on a variable by typing the name of the variable into
the Index search field.
Alternatively, you can use the Symbols View to find where the variable is defined in the Slick-C® code.
Expand the Slick-C folder and then expand the Global Variables folder. If Slick-C hasn't already been
tagged, type fp into the SlickEdit Core command line. This is an abbreviation of the find_proc command,
which will trigger tagging if it hasn't already been done.
Setting/Changing Configuration Variables
There are two ways to set/change these macro variables:
From the SlickEdit menu, click Macro Set Macro Variable and enter the macro variable in the Vari-
able field. The current value of the variable will be shown in the Value text box. Click Edit to edit this
variable, then click OK to accept the change.
From the SlickEdit Core command line, invoke the set_var command with the macro variable name (for
example, set_var def_auto_linecomment), then press Enter to view the current value. You can edit
this value, then press Enter to accept the change.
See Programmable Macros for more information on loading macros and setting variables.
Table of Configuration Variables
The table below provides a list of the most commonly used configuration variables.
Table 11.2. Configuration Variable
Configuration Variable Description
def_auto_linecomment Change to 0 to turn off automatic line comment in-
sertion.
def_binary_ext This variable is used by the editflst.e macro for
Viewing Configuration Variables
479