     returnLeft ? left
 
   checkCharacterWidthCache: (scopes, char) ->
-    scopes ?= NO_SCOPE
+    scopes ?= NoScope
     obj = Editor.characterWidthCache
     for scope in scopes
       obj = obj[scope]


  measureToColumn: (lineElement, tokenizedLine, column) ->
    left = oldLeft = index = 0
    iterator = document.createNodeIterator(lineElement, NodeFilter.SHOW_TEXT, TEXT_NODE_FILTER)

    returnLeft = null


    obj[char]

  setCharacterWidthCache: (scopes, char, val) ->
    scopes ?= NoScope
    obj = Editor.characterWidthCache
    for scope in scopes
      obj[scope] ?= {}
