| Package | Description |
|---|---|
| org.opencms.ui.components.codemirror | |
| org.opencms.ui.editors |
The available content editors.
|
| Modifier and Type | Method and Description |
|---|---|
static CmsCodeMirror.CodeMirrorLanguage |
CmsCodeMirror.CodeMirrorLanguage.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsCodeMirror.CodeMirrorLanguage[] |
CmsCodeMirror.CodeMirrorLanguage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsCodeMirror.setLanguage(CmsCodeMirror.CodeMirrorLanguage codeMirrorLanguage)
Sets the editor language.
|
| Modifier and Type | Method and Description |
|---|---|
CmsCodeMirror.CodeMirrorLanguage |
CmsSourceEditor.getHighlightMode(CmsResource resource)
Returns the syntax highlighting type for the currently edited resource.
|