         project_id  : rtypes.string.isRequired
         file_use_id : rtypes.string.isRequired
         path        : rtypes.string
-       # edited_input: rtypes.string
 
     getInitialState: ->
         input          : ''
         preview        : ''
         preview_button : false
         is_preview_on  : true
-
-    #edit_func: ->
-    #    @props.actions.set_edited_input(@refs.editedMessage.getValue())
-    #    console.log(@props.edited_input)
 
     mark_as_read: ->
         @props.redux.getActions('file_use').mark_file(@props.project_id, @props.path, 'read')

        </div>

    show_history: ->
        <div className="small" style={color:'#888', position:'absolute', left:'500px'} onClick={@enable_history}>
            <Icon name='history'/>
        </div>

    hide_history: ->
        <div className="small" style={color:'#888', position:'absolute', left:'500px'} onClick={@disable_history}>
            <Icon name='history'/>
        </div>

    disable_history: ->
        @props.actions.set_show_history(@props.message, false)

    enable_history: ->
        @props.actions.set_show_history(@props.message, true)

    show_user_name: ->
        <div className={"small"} style={color:"#888", marginBottom:'1px', marginLeft:'10px'}>

        @setState(new_changes : changes)

    shouldComponentUpdate: (next, next_state) ->
        return @props.message != next.message or
               @props.user_map != next.user_map or
               @props.account_id != next.account_id or
