Structured Text Settings
Define the default display setting for Structured Text (ST) elements and text that displays in ST language containers. Choose the font used when displaying comments, editor text, identifiers, numbers, operators, POUs, punctuation, reserved words, and strings. Choose to display these in bold, italic, strike-through, or underlined text and define their text color and size.
Options available for customization are:
Option | Description |
---|---|
Comment | |
Comment Font | The font definition used for comment text. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
Comment text Color | The color of the font for comments. Possible colors are custom, web, and system colors. |
Editor | |
Editor Font | The font definition used for the ST editor. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
Editor Text Area Background Color | The color of the ST editor background. Possible colors are custom, web, and system colors. |
Identifier | |
Identifier Font | The font definition used for identifiers. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
Identifier Text Color | The color of the font for identifiers. Possible colors are custom, web, and system colors. |
Number | |
Number Font | The font definition used for numbers. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
Number Text Color | The color of the font for numbers. The possible colors are custom, web, and system colors. |
Operator | |
Operator Font | The font definition used for operators. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
Operator Text Color | The color of the font for operators. The possible colors are custom, web, and system colors. |
POU | |
POU Font | The font definition used for POUs. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
POU Text Color | The color of the font for POUs. Possible colors are custom, web, and system colors. |
Punctuation | |
Punctuation Font | The font definition used for punctuation. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
Punctuation Text Color | The color of the font for punctuation. Possible colors are custom, web, and system colors. |
Reserved Word | |
Reserved Word Font | The font definition used for reserved words. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
Reserved Word Text Color | The color of the font for reserved words. Possible colors are custom, web, and system colors. |
String | |
String Font | The font definition used for strings. The definition includes the font name, size, unit of measure, and the indication of whether to apply bold, italic, strikeout, and underline styles. The GDI Character Set and GDI Vertical Font properties are not editable. |
String Text Color | The color of the font for strings. Possible colors are custom, web, and system colors. |
To customize the display settings for ST programs
- From theToolsmenu, clickOptions.
- From theOptionsdialog box, expandIECLanguages, then clickStructuredText(ST).
- Expand the respective category, customize the required settings, then clickOK.
Provide Feedback