     @measuredLines = new WeakSet
 
     @listenForDOMEvents()
-    @listenForCustomEvents()
+    @listenForCommands()
     @observeEditor()
     @observeConfig()
     @startBlinkingCursors()

InputComponent = require './input-component'
SelectionComponent = require './selection-component'
CursorComponent = require './cursor-component'
CustomEventMixin = require './custom-event-mixin'
SubscriberMixin = require './subscriber-mixin'

DummyLineNode = $$(-> @div className: 'line', style: 'position: absolute; visibility: hidden;', => @span 'x')[0]


  statics: {DummyLineNode}

  mixins: [SubscriberMixin]

  render: ->
    {fontSize, lineHeight, fontFamily, focused} = @state
