Macro Language Reference > Macros > Application Window > ty
  
ty
Description
Configures the size and update priority of the yellow edit bar area and the blue tag bar area. These settings can also be changed in the Display tab of the Document Preferences dialog box.
 
Example 22. Specify the size and position of the edit bar
ty -40
The - syntax specifies that the edit bar should be positioned in the right of the work area. The 40 specifies that the edit bar is 40 characters wide.
Syntax
ty ( editbar_size:n ',' priority:n? ) (';' tagbar_size:n )?
editbar_size
Size of the edit bar, i.e. the number of lines . A positive value, e.g. 20 specifies the width of the edit bar in rows and places it at the foot of the window. A negative value, e.g. -40, specifies the width in characters and places the edit bar area to the right of the window. A value of 0 switches off the information bar and displays the yellow bar as a single edit line.
priority
(optional) Delay factor before the main work area is updated with any newly typed text. A value of 25 provides around a quarter second delay on a 2Ghz PC, but as computers get faster higher numbers may be needed. (This option is rarely needed on modern fast computers and PTC recommends a setting of 0 unless you find the continuous update while typing distracting, or if it impedes progress.)
tagbar_size
(optional) Width of the blue tag bar measured in average-width characters. If the number is negative, the tag bar will be shown at the right side of the document window. If the edit bar is also on the right, the tag bar will be furthest right. The default width is 12 characters (increased from the non-configurable 8 characters prior to version 10.0). Enter a value of 0 to disable the tag bar.
Additional Information
The edit bar can also be toggled on or off using the wct macro with a value of ^2. The update of the text display is also affected by the trf macro.
Related Links