diff --git a/scripts/webbuild/webbuild-2.js b/scripts/webbuild/webbuild-2.js index 246484b..43afa64 100644 --- a/scripts/webbuild/webbuild-2.js +++ b/scripts/webbuild/webbuild-2.js @@ -95,10 +95,11 @@ function ajax_getvalues(request,confirm) { if ((nodes[i].nodeName == "editor") && (spectext != undefined) && (spectext.parentNode != undefined)) { editor = CodeMirror.fromTextArea(spectext, { - lineNumbers: false, - tabSize: 4, - indentUnit: 4, - indentWithTabs: true + lineNumbers:true, + fixedGutter:true, + tabSize:4, + indentUnit:4, + indentWithTabs:true }); editor.on('change', function() { editorChanged(); }); editor.setSize(null, 500); @@ -127,7 +128,6 @@ function ajax_getvalues(request,confirm) { if (to > start) { var customscroll = document.getElementById("matrix").scrollTop < (document.getElementById("matrix").scrollHeight - document.getElementById("matrix").clientHeight); - console.log(this.responseText.substring(start,to)); document.getElementById("matrix").innerHTML = "
" + this.responseText.substring(start,to).replace("","</pre>") + "