This commit is contained in:
Liang Ding 2014-08-21 15:39:07 +08:00
parent e85efcd1b1
commit 67a1e39bd1
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ var editors = {
var editor = CodeMirror.fromTextArea(document.getElementById("editor" + id), { var editor = CodeMirror.fromTextArea(document.getElementById("editor" + id), {
lineNumbers: true, lineNumbers: true,
theme: 'lesser-dark', theme: 'lesser-dark',
indentUnit: 4,
extraKeys: { extraKeys: {
"Ctrl-\\": "autocomplete" "Ctrl-\\": "autocomplete"
} }