Example #1
0
 /// <summary>
 /// Finally, the CodeMirror object itself has a method fromTextArea. This takes a textarea DOM node as first argument and an optional configuration object as second.
 /// It will replace the textarea with a CodeMirror instance, and wire up the form of that textarea (if any) to make sure the editor contents are put into the textarea when the form is submitted.
 /// </summary>
 /// <param name="domNode"></param>
 /// <param name="config"></param>
 /// <returns></returns>
 public static CodeMirror fromTextArea(HtmlElement domNode, CodeMirrorConfiguration config) { return null; }
Example #2
0
 /// <summary>
 /// Change the configuration of the editor. option should the name of an option, and value should be a valid value for that option.
 /// </summary>
 /// <param name="option"></param>
 /// <param name="value"></param>
 public void setOption(CodeMirrorConfiguration option, object value) { }
Example #3
0
 public CodeMirror(CodeMirrorConfiguration config) { }