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>") + "
"; currpos = document.getElementById("matrixoutput").innerHTML.length; diff --git a/styles/webbuild.css b/styles/webbuild.css index 82ff1b9..33647d5 100644 --- a/styles/webbuild.css +++ b/styles/webbuild.css @@ -262,11 +262,13 @@ input#repsearchtext { font-size:10pt; font-family:monospace; line-height:1.1em; + border:1px solid #2b6600; +/* font-size:12px; // causes problems*/ } .editor { float:left; width:100%; - height:400px; + height:500px; border:1px solid #cccccc; padding:0px; margin:0px; @@ -436,11 +438,6 @@ input { column-rule: none;*/ } -.CodeMirror { - border:1px solid #2b6600; -// font-size:12px; // causes problems -} - .jspVerticalBar { width:5px; }