       @hiddenInput.val(lastInput)
       false
 
+  bringHiddenInputIntoView: ->
+    @hiddenInput.css(top: @scrollTop() + 'px', left: 0)
+
   selectOnMousemoveUntilMouseup: ->
     lastMoveEvent = null
     moveHandler = (event = lastMoveEvent) =>

    @div attributes, =>
      @subview 'gutter', new Gutter
      @div class: 'scroll-view', outlet: 'scrollView', =>
        @div class: 'overlayer', outlet: 'overlayer', =>
          @input class: 'hidden-input', outlet: 'hiddenInput'
        @div class: 'lines', outlet: 'renderedLines'
        @div class: 'underlayer', outlet: 'underlayer'
      @div class: 'vertical-scrollbar', outlet: 'verticalScrollbar', =>
        @div outlet: 'verticalScrollbarContent'


    @hiddenInput.on 'focusout', =>
      @isFocused = false
      @removeClass 'is-focused'

    @underlayer.on 'mousedown', (e) =>
      @renderedLines.trigger(e)
