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

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


  writeEmptyText: (length, options) ->
    if not @currentWhitespaceStyle?
      @currentWhitespaceStyle = new Style @currentStyle
      @currentWhitespaceStyle.inverse = false
    @currentWhitespaceStyle
    options ?= {}
