Properties
bracketMatchingConfig :Config|undefined
#
undefined
#
The configuration for bracket matching.
bracketMatchingExtension :Extension
#
The extra extension for bracket matching.
Type:
- Overrides:
- Source:
The extra extension for bracket matching.
dialect :string
#
The dialect of the mode.
Either normal css or sanitized-css for
TemplateStyles.
Type:
- string
- Source:
The dialect of the mode.
docTagExtension :Extensionprotected
#
This extension adds extra highlighting styles for doc tags in JavaScript/Lua.
Type:
- Overrides:
- Source:
This extension adds extra highlighting styles for doc tags in JavaScript/Lua.
extension
#
The complete set of extensions for this mode, including the language and any supporting extensions.
- Overrides:
- 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.
- Overrides:
- Source:
Whether the mode should load a web worker.
lintApi :LintSource|undefined
#
undefined
#
The function to lint the code in the editor using a MediaWiki API.
Type:
-
LintSource
|
undefined
- Overrides:
- Source:
The function to lint the code in the editor using a MediaWiki API.
lintSource :LintSource|undefined
#
undefined
#
The function to lint the code in the editor.
name :string
#
The name of the mode.
Type:
- string
- Overrides:
- Source:
The name of the mode.
openLinksExtension :Extension|undefined
#
undefined
#
The extension for opening links with CTRL+click or CMD+click.
Type:
-
Extension
|
undefined
- Overrides:
- Source:
The extension for opening links with CTRL+click or CMD+click.
validator :CodeMirrorValidator
#
The API-powered validator, only used for TemplateStyles.
worker :CodeMirrorWorker|undefined
#
undefined
#
The web worker for the mode, if any.