Debian Codegraph @

src/host-web/webchuck/js/editor.js

raw symbols SCIP
1 var chuckEditor = ace.edit("program");
2 chuckEditor.setTheme("ace/theme/chuck");
3 chuckEditor.session.setMode("ace/mode/chuck");
4 chuckEditor.setOptions({
5 fontSize: "14px",
6 fontFamily: "Monaco",
7 cursorStyle: "ace",
8 useSoftTabs: true,
9 showFoldWidgets: true,
10 foldStyle: "markbeginend",
11 maxLines: 23,
12 minLines: 23
13 });
14 chuckEditor.container.style.lineHeight = 1.25;
15 chuckEditor.renderer.updateFontSize();
16 chuckEditor.session.setUseWrapMode(true);