The main class required to set up an Ace instance in the browser.
The main class required to set up an Ace instance in the browser.
Creates a new EditSession, and returns the associated Document.
Creates a new EditSession, and returns the associated Document.
| text | Document | String | Required. If |
| mode | TextMode | Required. The inital language mode to use for the document |
Embeds the Ace editor into the DOM, at the element provided by el.
Embeds the Ace editor into the DOM, at the element provided by el.
| el | String | DOMElement | Required. Either the id of an element, or the element itself |