       the_text = the_text.concat("/n")
       text_area.val(the_text)
 
+  handleKeyUp: (e) ->
+    # store the fact that the user is no longer pressing this key
+    keys = @state.pressed_keys
+    keys[e.keyCode] = false
+    @setState
+      pressed_keys: keys
+
   handleBadMark: ()->
     newAnnotation = []
     newAnnotation["low_quality_subject"]

            key: "#{@props.task.key}.#{@props.annotation_key}"
            "data-task_key": @props.task.key
            onKeyDown: @handleKeyDown
            onChange: @handleChange
            onFocus: ( () => @props.onInputFocus? @props.annotation_key )
            value: val

    annotation: @props.annotation ? {}
    viewerSize: @props.viewerSize
    autocompleting: false
    pressed_keys: {}

    # The selectedDate attribute of the DatePicker component will store the
    # currently selected date. This object must be of type moment() or blank.
