 
         @_init_default_settings()
 
+        @_project_actions = smc.redux.getProjectActions(@opts.editor?.editor.project_id)
+
         if @opts.renderer == 'auto'
             if IS_MOBILE
                 # NOT USED !! -- I stopped developing the codemirror-based version long ago; it just doesn't work.

            content = initfile_content(@opts.filename)
            {salvus_client} = require('./salvus_client')
            salvus_client.exec
                    project_id  : @opts.editor?.editor.project_id
                    command     : "test ! -r '#{initfn}' && echo '#{content}' > '#{initfn}'"
                    bash        : true
                    err_on_exit : false
                    cb          : (err, output) =>
                        if err
                            alert_message(type:'error', message:"problem creating initfile: #{err}")
                        else
                            @opts.editor?.editor.project_page.open_file(path:initfn)

    _init_input_line: () =>
        #if not IS_MOBILE

                            if i == mesg.paths.length
                                foreground = true
                            if v.file?
                                @_project_actions?.open_file(path:v.file, foreground:foreground)
                            if v.directory? and foreground
                                @_project_actions?.open_directory(v.directory)
            catch e
                console.log("issue parsing message -- ", e)

