'It returns whether the editor is in 'Source Code View' mode.
Return:
Type | Description |
---|---|
Boolean | True if the editor is in ‘Source Code View’ mode, false if not in ‘Source Code View’ mode |
Example:
if(editor.isCodeViewMode()) { editor.setMode('edit'); }
'It returns whether the editor is in 'Source Code View' mode.
Return:
Type | Description |
---|---|
Boolean | True if the editor is in ‘Source Code View’ mode, false if not in ‘Source Code View’ mode |
if(editor.isCodeViewMode()) { editor.setMode('edit'); }