       obj = obj[scope]
     obj[char] = val
 
+  # Private:
   clearCharacterWidthCache: ->
     EditorView.characterWidthCache = {}
 

      return null unless obj?
    obj[char]

  setCharacterWidthCache: (scopes, char, val) ->
    scopes ?= NoScope
    obj = EditorView.characterWidthCache

    super
    atom.workspaceView?.focus()

  # Private:
  beforeRemove: ->
    @trigger 'editor:will-be-removed'
    @removed = true
