 
 module.exports =
 class Editor extends View
-  @idCounter: 1
-
   @configDefaults:
     fontSize: 20
     showInvisibles: false

  initialize: ({editSession, @mini} = {}) ->
    requireStylesheet 'editor.css'

    @id = Editor.idCounter++
    @lineCache = []
    @configure()
    @bindKeys()

    @calculateDimensions()
    @hiddenInput.width(@charWidth)
    @setSoftWrapColumn() if @activeEditSession.getSoftWrap()
    @subscribe $(window), "resize", => @requestDisplayUpdate()
    @focus() if @isFocused

    @resetDisplay()
