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

    obj[char]

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

    returnLeft ? left

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