TIWCGJSCodeMirrorConfig.Mode Property

The mode to use. When not given, this will default to the first mode that was loaded. It may be a string, which either simply names the mode or is a MIME type associated with the mode. Alternatively, it may be an object containing configuration options for the mode, with a name property that names the mode (for example {name: "javascript", json: true}). The demo pages for each mode contain information about what configuration parameters the mode supports. You can ask CodeMirror which modes and MIME types are loaded with the CodeMirror.listModes and CodeMirror.listMIMEs functions.

Namespace: IWCGJSCodeMirror
published
 property Mode: TIWCGJSCodeMirrorMode index 01 read GetMode write SetMode stored IsEnumerStored;

Property Value