   initialize: ({editSession, @mini} = {}) ->
     requireStylesheet 'editor.css'
 
-    @id = Editor.idCounter++
     @lineCache = []
     @configure()
     @bindKeys()

    @calculateDimensions()
    @hiddenInput.width(@charWidth)
    @setSoftWrapColumn() if @activeEditSession.getSoftWrap()
    $(window).on "resize.editor#{@id}", => @requestDisplayUpdate()
    @focus() if @isFocused

    @resetDisplay()

    if @activeEditSession.getSoftWrap()
      @addClass 'soft-wrap'
      @_setSoftWrapColumn = => @setSoftWrapColumn()
      $(window).on "resize", @_setSoftWrapColumn
    else
      @removeClass 'soft-wrap'
      $(window).off 'resize', @_setSoftWrapColumn
