Constructor
new CodeMirrorMode(name)
#
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
- Implements:
- Source:
Properties
extension
#
The complete set of extensions for this mode, including the language and any supporting extensions.
- Source:
The complete set of extensions for this mode, including the language and any supporting extensions.
hasWorker
#
Whether the mode should load a web worker.
- Source:
Whether the mode should load a web worker.
lintSource :LintSource|undefined
#
undefined
#
The function to lint the code in the editor.
name :string
#
The name of the mode.
worker :CodeMirrorWorker|undefined
#
undefined
#
The web worker for the mode, if any.