Client Preferences Script Editor options

The Client Preferences dialog box has a Script Editor tab where you can configure the Script Editor.

This table shows the available configuration options:
Option Description
Font Size This is an integer from 7 to 32, which controls the font size of the displayed code within the editor.
Tab Size This is an integer from 1 to 32, which controls the width of the Tab key displayed within the editor.
Emulate tabs with spaces When this is selected, and you press Tab to insert a tab in the code, the editor auto-converts the Tab key into spaces.
Activate Auto-Complete When this is selected, the Auto-Complete window is enabled.

If this is cleared (default), then the Auto-Complete window does not open unless you press Ctrl+Space.

Open Auto-Complete Window This is the shortcut key to manually open the Auto-Complete window. The default is Ctrl+Space. This windows opens only when there are choices to select from.

For example, entering a "j" auto-completes with "join" without the Auto-Complete window opening. Entering an "f" opens the Auto-Complete window with a list of choices.

The auto-complete functionality supports standard TCL, JavaScript, and Python.

Fill with Code Template This triggers the code template function. For example, if you specify "for" and then press Ctrl+Shift+Space, the editor automatically inputs the code template for the "for" loop.
Jump to Matching Bracket This is useful for bracket matching, especially when the starting and ending bracket extend across many lines. To use this function, position the cursor immediately after a bracket, then press the shortcut keys. This moves the cursor to the corresponding matching bracket. The Script Editor scroll bar moves to display the line to which the cursor jumped.

The default is Ctrl+J.