Line Wrapping and Banned Paths Options

New options available to set in the settings screen
Also passes through to useNewSettings function for in session changes
A couple of other minor changes to style and layout
This commit is contained in:
Matt Pass
2012-12-12 17:56:43 +00:00
parent b66d5fe8d3
commit 2ebec54476
7 changed files with 383 additions and 367 deletions

View File

@@ -100,7 +100,7 @@ function createNewCMInstance(num) {
window['cM'+num] = CodeMirror(document.body, {
mode: "application/x-httpd-php",
lineNumbers: true,
lineWrapping: true,
lineWrapping: top.ICEcoder.lineWrapping,
indentUnit: top.ICEcoder.tabWidth,
tabSize: top.ICEcoder.tabWidth,
indentWithTabs: true,