     @unfoldAll()
     @trigger 'grammar-changed'
 
-  handleMarkerCreation: (marker) =>
+  handleMarkerCreated: (marker) =>
     if marker.matchesAttributes(@getSelectionMarkerAttributes())
       @addSelection(marker)
 

        scrollLeft: 0

      @displayBuffer = new DisplayBuffer(@buffer, { tabLength })
      @subscribe @displayBuffer, 'marker-created', @handleMarkerCreation
      @addCursorAtScreenPosition([0, 0])

    @languageMode = new LanguageMode(this, @buffer.getExtension())

      @buffer = project.bufferForId(@state.get('bufferId'))

      @displayBuffer = new DisplayBuffer(@buffer, { tabLength })
      @subscribe @displayBuffer, 'marker-created', @handleMarkerCreated

      for marker in @findMarkers(@getSelectionMarkerAttributes())
        @addSelection(marker)
