diff --git a/editor.php b/editor.php index 1d14e00..01f06cc 100644 --- a/editor.php +++ b/editor.php @@ -54,6 +54,7 @@ h2 {color: rgba(0,198,255,0.7)} .heading {color:#888} +
@@ -150,13 +151,6 @@ CodeMirror.keyMap.ICEcoder = { "Ctrl-Down" : false, fallthrough: ["default"] }; -CodeMirror.commands.autocomplete = function(cm) { - var langType = top.ICEcoder.caretLocType; - if (["JavaScript","CoffeeScript","SQL","CSS","HTML","XML","Content"].indexOf(langType)>-1) { - if (langType=="XML"||langType=="Content") {langType="HTML"}; - CodeMirror.showHint(cm,CodeMirror.hint[langType.toLowerCase()]); - } -} function createNewCMInstance(num) { var fileName = top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1]; @@ -317,6 +311,8 @@ var debounce; + +