 
   markTokenizationComplete: ->
     unless @fullyTokenized
-      @emit 'tokenized' if Grim.includeDeprecatedAPIs
       @emitter.emit 'did-tokenize'
     @fullyTokenized = true
 

    end -= delta

    event = {start, end, delta, bufferChange: e}
    @emit 'changed', event if Grim.includeDeprecatedAPIs
    @emitter.emit 'did-change', event

  retokenizeWhitespaceRowsIfIndentLevelChanged: (row, increment) ->

      [startRow, endRow] = @updateFoldableStatus(startRow, endRow)

      event = {start: startRow, end: endRow, delta: 0}
      @emitter.emit 'did-change', event

    if @firstInvalidRow()?
