       # Load ace modules #
 
       # ext_language_tools for autocompletion
-      ace.config.set("basePath", "../deps/")
-      ace.config.loadModule 'ace/ext/angles', () =>
-
-        @$editor.setOptions 
-          enableBasicAutocompletion: true
+      ace.config.set("basePath", "../deps/")      
+      ace.config.loadModule 'ext/angles', () =>
+
+        @$editor.setOptions
+          enableODDAutocompletion: true
 
         completer = 
           getCompletions: (editor, session, pos, prefix, callback) => 


              pos = editor.getCursorPosition()              
              ident = _findParent(pos.row, pos.column)
              console.log ident
              completions = []

              children = context.getChildrenOf(ident);


        @$editor.completers = [completer]

        ace.config.on "desc", (e) =>
          @dispatcher.trigger("editor:context", e.ident)

        ace.config.on "desc:clear", (e) =>
          @dispatcher.trigger 'notification:clear'

      @

    setContent: -> @$editor.setValue @model.get('content')

