Event Handler Settings: Editing

Use the Editing tab in the Event Handler Settings dialog box to configure the source code editor you want to use for creating or modifying event handlers.

This setting is stored in the Windows registry as a per-user setting.

Note: Other properties for event handling can be stored in properties files.

Source Code Editor

Specify the command to launch the editor whenever you choose to edit source code for a script. Host Integrator searches for the presence of common Java editors and selects it as the source code editor if one is found. Otherwise, a text editor is selected as the default.

Click Browse to locate the executable for a source code editor.

Default Java editor

This option is available if Java is the selected technology. If a Java editor is found on your machine it is displayed here. This option is the default.

Default C# editor

This option is available if .NET with C# is the selected technology. If a C# editor is found on your machine it is displayed here. This option is the default.

Tip: If you're having trouble opening source code when you click the Edit button (), a quick workaround is to change your editor selection to a text editor such as Notepad. You may need to specify a custom string for the Other editor option to use the editor of your choice.

Default text editor

This is the default if no Java editor is found on your machine. Notepad is the default.

Other editor

You can specify another editor. Click Browse to locate it, or use the command syntax below. The %p is automatically appended to the string when you locate the editor by clicking Browse. This example uses an alternate editor:

    "C:\Program Files\TextPad 4\TextPad.exe" "%p"

Command Syntax

The name of any external command should use Windows conventions:

The parameters used with commands support the following escape codes to further specify file and directory information for editing and compiling scripts:

 

Related Topics
Bullet About event handlers
Bullet Event handler properties files