ScriptEditor.setContext Method

Sets the context of the script editor.
 

Parameters

context

Type: ScriptEditorContext
The context to set the script editor to.
activate

Type: Boolean - May be null
(Optional) True to activate the script editor.