     _show_error_in_file: (mesg, cb) =>
         file = mesg.file
         if not file
-            alert_message(type:"error", "No way to open unknown file.")
+            alert_message
+                type    : "error"
+                message : "No way to open unknown file."
             cb?()
             return
         if not mesg.line

        opts.cb = (err, res) =>
            if err
                if active
                    alert_message(type:"error", message: "Inverse search error -- #{err}")
            else
                if res.input != @filename
                    if active

                @set_conf(resolution : res)
                @preview.update()
            catch e
                alert_message
                    type    : "error"
                    message : "Invalid resolution #{res}"

    get_resolution: () =>
        if not @preview?
