`,1); //1 = moves cursor to end editor.getSession().on('change', function() { update(); }); editor.focus(); editor.setOptions({ fontfamily: "Times New Roman", fontSize: "16pt", showLineNumbers: false, showGutter: false, vScrollBarAlwaysVisible:true, enableBasicAutocompletion: false, enableLiveAutocompletion: false }); editor.setShowPrintMargin(false); editor.setBehavioursEnabled(false); } setupEditor(); update();