Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


You can use editor markers to highlight problems inside the editor. Press the "mark vars" button and the clear markers buttons to see, and look in the source code of that page how to use them.


The editor loads the Ace editor's javascript from a CDN ({version}/xxx). This allows easy caching and deployment. To add the required parts as HeaderContributors to a page there are two methods:


The setMode(String) method can be called to set the editor's mode (which language is being edited), like: editor.setMode("/ace/mode/javascript");

Available methods to play with the editor state

The following methods are implemented: