      path: file
     @content = "#{FS.readFileSync file}"
     @editor.setText @content
-    @_editorChanged = false
+    @_editorChanged = true
+    @on.saveTemporary()
+    @options.file = @file.path
+    @saveOptions()
     @elems.save.style.display = 'inline-block'
     @elems.saveName.textContent = "#{@file.name}"
 

     lines[i] = line.trimRight()

    lines.join '\n'

   @listen 'saveTemporary', ->
    return if not @file?

  PATH = require 'path'

  TEMPORARY_FILE = 'temporary.swp.ds'
  OPTIONS_FILE = 'options.json'
  PROTOCOLS = [
   'https://'
   'http://'
