Configuring Layout Settings

  1. In the Silk Performer menu, click Settings > System .
  2. Click the Layout tab. Use the Editor area to customize how the editor behaves when you manually insert text into a script file.
  3. In the Tab size field, enter the number of space characters that equal one tab character.
  4. Select the Auto indent option to automatically insert indents in your test script. Each time you create a new line in a script file, the line is automatically indented the same number of spaces as the previous line.
  5. Select the Replace tabs with spaces option to automatically insert four spaces each time a tab is used in a test script. This option makes it easier to view script files in a text editor.
  6. Select Enable CodeCompletion to have functions, variables, and constants completed for you automatically when you enter text into BDL files.
  7. Click the Font & Colors button to select a font and style for the Silk Performer script editor. You can select a different color to use for each type of content in a test script. The Editor Font and Colors Settings dialog opens.
  8. From the Text type list, select the type of text for which you want to adjust the font, size, style, and color. Choose one of the following:
    • Normal Text - Identifiers and symbols.
    • Keywords - Predefined statements.
    • Custom Keywords - Words added to the keyword list by the user.
    • Numbers - Whole numbers and floating-point values.
    • Comments - Notes in explanation included in a script.
    • Strings - Sequence of characters delimited by " characters.
  9. From the Font name, Font size, Style, and Color list boxes, select the format options you want to use for the currently selected text type.
  10. Click OK.
  11. You can add keywords to the Custom keywords list. These keywords will display in the script with the styles you have defined in the Editor Font and Colors Settings.