       event.preventDefault()
       t.selectionStart = t.selectionEnd = ss + tabLength
 
-
-
+  viewAppended: ->
+    @initialHeight = @$().height()

        @_clone.appendTo 'body'
        @_clone.css
          height        : "auto"
          "z-index"     : 100000
          width         : $input.width()
          padding       : $input.css('padding')
          "word-break"  : $input.css('word-break')
          "font-size"   : $input.css('font-size')
          "line-height" : $input.css('line-height')

    @on "blur", =>
      @_clone.detach()

  setAutoGrow:->

    $input = @$()
    $input.css "overflow", "hidden"

    @setClass "autogrow"

