                       file_path={@props.file_path} />
         </div>
 
+    # TODO: Make this a codemirror input
     render_input: ->
         <div>
             <Input

            else
                v = {}
                #console.log("DATA ON LOAD:", syncdb.select())
                db = syncdb.select()
                for x in syncdb.select()
                    if x.history
                        x.history = immutable.Stack(immutable.fromJS(x.history))

                show_edit_input : false
        else if e.keyCode==13 and not e.shiftKey # 13: enter key
            mesg = @refs.editedMessage.getValue()
            if mesg.length? and mesg.trim().length >= 1 and mesg != @newest_content()
                @props.actions.send_edit(@props.message, mesg)
            @setState(show_edit_input:false)

    focus_endpoint: (e) ->
        val = e.target.value
