bdeGetEditorLanguage

Gets the language/type of a given editor.

Syntax

editorLanguage = bdeGetEditorLanguage(editor)

Inputs

editor
The editor to get the language of.
Type: hwscpTextEditor

Outputs

editorLanguage
The language of the editor.
Type: string

Examples

Get the language of a given editor (python):

          editorLanguage = bdeGetEditorLanguage(editor);
        

          
            editorLanguage = python
          
        
Get the language of a given editor (text):

          editorLanguage = bdeGetEditorLanguage(editor);
        

          
            editorLanguage = text