     kd.utils.stopDOMEvent event
     @server.input event.originalEvent.clipboardData.getData "text/plain"
     @setKeyFocus()
-
-

    @screenBuffer.setLineContent lineIndex, newContent

  setStyle: (name, value) ->
    @currentStyle = $.extend true, {}, @currentStyle
    @currentStyle[name] = value
    @currentWhitespaceStyle = null


    text = text.replace /[ ]/g, "\xA0" # NBSP
    switch @currentCharacterSets[@currentCharacterSetIndex]
      when "0"
        nonBoldStyle = new Style style
        nonBoldStyle.bold = false
        for i in [0..text.length]
          c = text.charCodeAt i
