 
     setMode: (m) -> @$editor.getSession().setMode(m)
 
-    # clearNotifications: function() { this.$editor.session.notifications = null; },
-
 )(window.Angles,_,Backbone,ace)


      # Load ace modules #

      # ext_language_tools for autocompletion
      ace.config.set("basePath", "../deps/")      
      ace.config.loadModule 'ext/angles', () =>



              for c in children
                completions.push
                  caption: c.ident,
                  snippet: "#{c.ident}></#{c.ident}>",
                  meta: "element"
