@ -85,6 +85,12 @@
editor = ace.edit(options.editor);
// give focus
editor.focus();
// move cursor to line 2
editor.gotoLine(2,0);
// set mode
PhpMode = require("ace/mode/php").Mode;
editor.getSession().setMode(new PhpMode());