Open this page in the API Guide

ScriptEditorContext.languageMode Property

Gets or sets the language of the script that will be shown in the editor.
 

Property Value

Type: LanguageMode
The language mode.