 ###
 
 
-
 CLICK_TO_EDIT = "Edit text..."
 
 # seconds to wait for synchronized doc editing session, before reporting an error.


        @project_id = @opts.project_id   # must also be set by derived classes that don't call this constructor!
        @filename   = @opts.filename

        #@connect = @_connect
        @connect = misc.retry_until_success_wrapper
            f         : @_connect

            # done -- no need to render anything.
            return

        # The chat message area
        chat_output = @element.find(".salvus-editor-codemirror-chat-output")

        messages = messages.split('\n')

