WBTAGCOUNT
Number of characters that change between retags in Workbench
WSupported on Windows
|
|
|
|
The WBTAGCOUNT environment variable enables you to control the number of times Context Tagging can occur in a short span of time by changing the number of characters that must be typed before retagging occurs.
Value
The number of characters that must be typed before retagging occurs. To turn off tag optimization, set the value to 0.
Discussion
To optimize performance, Workbench retags only when either a certain amount of time has elapsed or a certain number of characters have changed since the last tag. This prevents frequent retags from occurring in a short period and causing a slowdown in large projects. The defaults are 10 seconds or 10 characters. These values are recommended for most users; however, more frequent tag operations may be desirable for faster computers to make sure tagging is always accurate.
To change the frequency at which retagging occurs, use WBTAGCOUNT to change the number of characters that must be typed before retagging occurs. (You can also set the WBTAGDELAY environment variable to change the number of seconds that must pass.)
Setting location
In Workbench using the syn_set command (not the set command).
Although WBTAGCOUNT and WBTAGDELAY can be set anywhere in the environment, we recommend only setting them in Workbench, because they have no effect on the runtime. To fine-tune performance on a per-project basis, consider setting WBTAGCOUNT and WBTAGDELAY in the Open tab of the Project Properties dialog. |
Used by
Workbench
See also
WBTAGDELAY environment variable
Examples
In Workbench, to make retagging occur after every six characters are typed,
syn_set wbtagcount=6