Setting the Properties of the Script Editor

You can customize the behavior of the Script Editor.

To set the properties of the Script Editor:

  1. In the Script Editor, click the Properties button or choose Options > Editor Properties. The Properties dialog box opens.

  2. In the Editor tab, you can set the following options:

    Option

    Description

    Auto indent mode

    Places the cursor under the first non-blank character of the preceding non-blank line when you press Enter.

    Smart tab

    Tabs to the first non-blank character in the preceding non-blank line. If Use tab character is selected, this option is cleared.

    Use tab character

    Inserts a tab character. If cleared, inserts space characters. If Smart tab is selected, this option is cleared.

    Backspace unindents

    Aligns the insertion point to the previous indentation level when you press Backspace, if the cursor is on the first non-blank character of a line.

    Show line numbers

    Displays line numbers. If this option is selected, Show line numbers on gutter is enabled.

    Show line numbers on gutter

    Displays line numbers in the gutter instead of in the left margin. If Show line numbers is selected, this option is enabled.

    Group undo

    Reverses your last editing command and any subsequent editing commands of the same type, if you press Alt+Backspace or choose Edit > Undo.

    Cursor beyond EOF

    Enables you to place the insertion point after the last line of code.

    Cursor beyond EOL

    Enables you to position the cursor after the end of the line.

    Selection beyond EOL

    Enables you to select characters beyond the end of the line.

    Keep trailing blanks

    Keeps any blank spaces you have at the end of a line.

    Persistent blocks

    Keeps marked blocks selected, even when the cursor is moved using the arrow keys, until a new block is selected.

    Overwrite blocks

    Replaces a marked block of text with new text. If Persistent Blocks is also selected, text you enter is appended following the currently selected block.

    Double click line

    Highlights the line when you double-click any character in the line. If disabled, only the selected word is highlighted.

    Find text at cursor

    Places the text at the cursor into the Text To Find list box in the Find Text dialog box when you choose Search > Find.

    Force cut and copy enabled

    Enables the Cut and Copy commands, even when there is no text selected.

    Use syntax highlight

    Displays script elements according to colors and attributes defined in the Display tab and Colors tab.

    Overwrite cursor as block

    Controls the appearance of the caret when using the Overwrite mode.

    Disable dragging

    Disables dragging and dropping text.

    Block indent

    Specifies the number of spaces to indent a marked block.

    Tab stops

    Specifies the locations to which the cursor moves when you press Tab.

    Keymapping

    Sets the keyboard mappings in the Script Editor. Supports the following keyboard mappings: Default, Classic, Brief, Epsilon, and Visual Studio.

  3. In the Display tab, you can set the following options:

    Option

    Description

    Editor gutter

    Enables you to set the visibility, width, color, and style of the gutter.

    Editor margin

    Enables you to set the visibility, width, color, style, and position of the right margin.

    Use mono font

    Displays only monospaced screen fonts, such as Courier, in the Editor font box.

    Editor font

    Lists the available text fonts.

    Editor color

    Lists the available background colors.

    Size

    Lists font sizes.

    Use Read-Only Color

    Enables you to select a color for displaying read-only text from the Read-Only Color box.

    Draw Special Symbols

    Sets special characters for displaying end-of-file, end-of-line, space, and tab characters.

  4. In the Colors tab, you can set the following options:

    Option

    Description

    Color SpeedSetting

    Enables you to configure the Script Editor display using predefined color combinations.

    Element

    Specifies syntax highlighting for a particular code element.

    Foreground color

    Sets the foreground color for the selected code element.

    Background color

    Sets the background color for the selected code element.

    Use defaults for

    Displays the code element using default system colors for the foreground, background, or both.

    Text attributes

    Specifies format attributes for the code element.

    Open

    Loads a color scheme from your computer.

    Save

    Saves a color scheme to your computer.