     @state.verticalScrollbar.width = @measuredVerticalScrollbarWidth
     @state.verticalScrollbar.bottom = @horizontalScrollbarHeight
 
-  updateHiddenInputState: -> @batch "shouldUpdateHiddenInputState", ->
+  updateHiddenInputState: ->
     return unless lastCursor = @model.getLastCursor()
 
     {top, left, height, width} = @pixelRectForScreenRange(lastCursor.getScreenRange())

      @mouseWheelScreenRow = null
      @shouldUpdateLinesState = true
      @shouldUpdateLineNumbersState = true
      @updateCustomGutterDecorationState()

    @emitDidUpdateState()


      isVisible = isVisible and @showLineNumbers
    isVisible

  updateLineNumbersState: ->
    return unless @startRow? and @endRow? and @lineHeight?

    visibleLineNumberIds = {}
